mirror of
https://github.com/d0zingcat/cors-anywhere.git
synced 2026-05-13 15:09:25 +00:00
Redirect URL in statusText
Android's stock browser (and Webview) does not recognize the Access-Control-Expose-headers response header. Use the status text field to pass through this information. Updated demo and documentation.
This commit is contained in:
@@ -13,6 +13,9 @@ 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 url
|
||||
is available in the Location response header).
|
||||
For user agents who do not support the Access-Control-Expose-Headers response header,
|
||||
the information is available in the status text as "<HTTP STATUS CODE> <LOCATION 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.
|
||||
@@ -20,5 +23,5 @@ header implies that the requested URL was not recognized.
|
||||
This API has one requirement: The X-Requested-With header must be set.
|
||||
|
||||
|
||||
Demo : http://rob.lekensteyn.nl/cors-anywhere.html
|
||||
Demo : https://robwu.nl/cors-anywhere.html
|
||||
Source code : https://github.com/Rob--W/cors-anywhere/
|
||||
|
||||
Reference in New Issue
Block a user