mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
RFC 2616 says that only headers that are allowed to have comma separated values are acceptable for repetition. Though it doesn't specify an error condition for that situation. I reckon the cleanest way would be to list the headers that are acceptable for repetition, and return a 400 Bad Request.
5 lines
91 B
HTTP
5 lines
91 B
HTTP
GET /stuff/here?foo=bar HTTP/1.0\r\n
|
|
If-Match: bazinga!\r\n
|
|
If-Match: large-sound\r\n
|
|
\r\n
|