rails-reverse-proxy/lib/reverse_proxy
Ian Clarkson dc19756c1f Don't copy HTTP_VERSION from the source to the target request
Although the HTTP Version appears as a header inside `env`, it's not actually a regular header. When `extract_http_request_headers` is called, it translates the `HTTP_VERSION` "header" into a `Version` header. `Version` is only a provisionally-supported header name, and is semantically meant to represent the version of an (evolving object)[https://www.w3.org/Protocols/HTTP/Object_Headers.html#z13]. It's not correct to pass the HTTP Version as the contents of the `Version` header, so this change skips the processing of that particular header entirely.
2018-04-18 15:25:14 -07:00
..
client.rb Don't copy HTTP_VERSION from the source to the target request 2018-04-18 15:25:14 -07:00
controller.rb Fixing Rails 5.1 warnings 2016-10-27 09:36:51 +08:00