rack-reverse-proxy
rack-reverse-proxy copied to clipboard
Proxy original http headers along with the request
Fixed an issue that was preventing the original request headers (i.e. HTTP_USER_AGENT) from being included in the proxy request. Net::HTTP is expecting these headers to be specified as USER-AGENT, not USER_AGENT.
Updated tests included..
This fixed an issue I'd been having that disabled visual mode in wordpress. After adding this in to my fork, it's working again.
Where did this get to? I'm running into the same issue with the User Agent header not going through.