make flask return response header http1.1 instead http1.0 make flask return response header http1.1 instead http1.0 flask flask

make flask return response header http1.1 instead http1.0


Add a line indicating the protocol version from WSGI service.

WSGIRequestHandler.protocol_version = "HTTP/1.1"

Put this line right before your run.app() call