Location -> X-Location

xhr.getResponseHeader('Location') gives:
> Refused to get unsafe header "Location"
This commit is contained in:
Rob W
2013-01-04 23:05:54 +01:00
parent 204edda774
commit 051858b480
3 changed files with 10 additions and 3 deletions

View File

@@ -11,7 +11,8 @@ If the protocol is omitted, it defaults to http (https if port 443 is specified)
Cookies are disabled and stripped from requests.
Redirects are not automatically followed: The API response has status code 333.
The client ought to confirm this redirection by creating a new request.
The client ought to confirm this redirection by creating a new request (the url
is available in the Location response header).
The requested URL is available in the X-Request-URL response header. Non-existence of this
header implies that the requested URL was not recognized.