- Notifications
You must be signed in to change notification settings - Fork 305
Closed
Labels
Description
Proxy is not returning the Location: header from original server. This is especially important when following 301 Moved Permanently redirects.
For example, requesting directly:
curl -v http://www4.wiwiss.fu-berlin.de/bookmashup/persons/Tim+Berners-Lee < HTTP/1.1 301 Moved Permanently < Location: http://wifo5-03.informatik.uni-mannheim.de/bookmashup/persons/Tim+Berners-Lee Through proxy:
curl -vk https://localhost:8443/proxy?uri=http%3A%2F%2Fwww4.wiwiss.fu-berlin.de%2Fbookmashup%2Fpersons%2FTim%2BBerners-Lee < HTTP/1.1 301 Moved Permanently < X-Powered-By: Express < Vary: Origin < Access-Control-Allow-Credentials: true < Access-Control-Expose-Headers: User, Location, Link, Vary, Last-Modified, Content-Length < Date: Wed, 17 Feb 2016 20:13:13 GMT < Connection: keep-alive < Transfer-Encoding: chunked < Note that Location is in the Expose-Headers, correctly, but not actually being returned.