diff --git a/README.md b/README.md index 76bb222..aa9a22f 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ additional modification by the server.
GATEWAY_INTERFACE
CGI version (for compatability with RFC 3785).
- Example: "GCI/1.1" + Example: "CGI/1.1"
SERVER_PROTOCOL
diff --git a/jetforce/app/static.py b/jetforce/app/static.py index a0f8156..991e171 100644 --- a/jetforce/app/static.py +++ b/jetforce/app/static.py @@ -149,7 +149,7 @@ class StaticDirectoryApplication(JetforceApplication): stream to the client. """ cgi_env = {k: str(v) for k, v in environ.items() if k.isupper()} - cgi_env["GATEWAY_INTERFACE"] = "GCI/1.1" + cgi_env["GATEWAY_INTERFACE"] = "CGI/1.1" # Decode the stream as unicode so we can parse the status line # Use surrogateescape to preserve any non-UTF8 byte sequences.