mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Note: This is unrelated to a reverse proxy potentially talking HTTP/3 to clients. This is about the HTTP protocol version spoken to Gunicorn, which is HTTP/1.0 or HTTP/1.1. Little legitimate need for processing HTTP 1 requests with ambiguous version numbers. Broadly refuse. Co-authored-by: Ben Kallus <benjamin.p.kallus.gr@dartmouth.edu>
6 lines
132 B
Python
6 lines
132 B
Python
from gunicorn.config import Config
|
|
from gunicorn.http.errors import InvalidHTTPVersion
|
|
|
|
cfg = Config()
|
|
request = InvalidHTTPVersion
|