From 29b0f364b2de660814a13c8cc864f2b477d28ef2 Mon Sep 17 00:00:00 2001 From: Taavi Kuusik Date: Fri, 30 Jun 2017 16:22:46 -0700 Subject: [PATCH] Changed WebResponse.url to use XHR.responseURL instead of initial request url --- src/SimpleWebRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SimpleWebRequest.ts b/src/SimpleWebRequest.ts index 5eb0091..8077f84 100644 --- a/src/SimpleWebRequest.ts +++ b/src/SimpleWebRequest.ts @@ -531,7 +531,7 @@ export class SimpleWebRequest { } return { - url: this._url, + url: this._xhr.responseURL, method: this._action, statusCode: statusCode, statusText: this._xhr.statusText,