Closed linux-china closed 3 years ago
Now value of SERVER_PROTOCOL is http or https, but from https://datatracker.ietf.org/doc/html/rfc3875 the SERVER_PROTOCOL should be alike HTTP-Version = "HTTP" "/" 1*digit "." 1*digit, such as HTTP/1.1 .
HTTP-Version = "HTTP" "/" 1*digit "." 1*digit
HTTP/1.1
Looks like it was fetching protocol from the URL instead of version from the request object. I will fix.
protocol
version
Fixed in #112.
Now value of SERVER_PROTOCOL is http or https, but from https://datatracker.ietf.org/doc/html/rfc3875 the SERVER_PROTOCOL should be alike
HTTP-Version = "HTTP" "/" 1*digit "." 1*digit
, such asHTTP/1.1
.