redirected property
bool
get
redirected
The read-only redirected
property of the Response interface
indicates whether or not the response is the result of a request you made
which was redirected.
Note: Relying on redirected to filter out redirects makes it easy for a forged redirect to prevent your content from working as expected. Instead, you should do the filtering when you call
fetch
. See the example Disallowing redirects, which shows this being done.
Implementation
external bool get redirected;