Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

XHR 307 Redirect Behind Proxy #35

Open
rjreed opened this issue Feb 28, 2014 · 0 comments
Open

XHR 307 Redirect Behind Proxy #35

rjreed opened this issue Feb 28, 2014 · 0 comments

Comments

@rjreed
Copy link
Contributor

rjreed commented Feb 28, 2014

When I navigate to http://www.metacademy.org/list instead of http://metacademy.org/list behind a corporate proxy: Z-Scaler, the concept list does not display and the console logs the following error:

XMLHttpRequest cannot load http://metacademy.org/api/list. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.metacademy.org' is therefore not allowed access.

Here is the log information for that request:

Request Info


Request URL: http://metacademy.org/api/list
Request Method: GET
Status Code: 307 Temporary Redirect

Request Headers


Host: metacademy.org
Proxy-Connection: keep-alive
Cache-Control: max-age=0
Accept: application/json, text/javascript, /; q=0.01
Origin: http://www.metacademy.org
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Referer: http://www.metacademy.org/list
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8

Response Headers


Content-Length: 0
Location: https://gateway.zscaler.net:443/auD?origurl=http%3A%2F%2Fmetacademy%2eorg%2fapi%2flist
Cache-Control: no-store,no-cache
Pragma: no-cache
Content-Type: text/html
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"
Set-Cookie: _sm_au_d=1;path=/;domain=metacademy.org


Browser: Chrome 33.0.1750.117 m
OS: Windows 7 Enterprise SP1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant