mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-05 12:11:29 +08:00
Gunicorn shouln't override the SERVER_* by the Host header. The client will take care about it during the URL reconstruction if needed. Since the spec don't support unix sockets, Gunicorn is using the HOST heeader when available to create viable SERVER_* if possible so the application and framworks will be happy. When the Host Header is not available (SocketPath, '') is returned. fix #628