mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
If we promise wsgi.input_terminated, we better get it right - or not at all. * chunked encoding on HTTP <= 1.1 * chunked not last transfer coding * multiple chinked codings * any unknown codings (yes, this too! because we do not detect unusual syntax that is still chunked) * empty coding (plausibly harmless, but not see in real life anyway - refused, for the moment)
13 lines
195 B
HTTP
13 lines
195 B
HTTP
POST /chunked_w_underscore_chunk_size HTTP/1.1\r\n
|
|
Transfer-Encoding: chunked\r\n
|
|
\r\n
|
|
5\r\n
|
|
hello\r\n
|
|
6_0\r\n
|
|
world\r\n
|
|
0\r\n
|
|
\r\n
|
|
POST /after HTTP/1.1\r\n
|
|
Transfer-Encoding: identity\r\n
|
|
\r\n
|