This repository was archived by the owner on Oct 3, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1191,6 +1191,7 @@ class SocketFetch extends ArcEventSource {
11911191
11921192 this . _createResponse ( false )
11931193 . then ( ( ) => {
1194+ this . _response . requestUrl = this . _request . url ;
11941195 this . redirects . add ( this . _response ) ;
11951196 return this . _cleanUpRedirect ( ) ;
11961197 } )
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ class ArcResponse {
5151 this . redirects = init . redirects ;
5252 this . stats = init . stats ;
5353 this . _headers = init . headers ;
54+ // Filed when the request was redirected.
55+ this . requestUrl = undefined ;
5456 }
5557 get type ( ) {
5658 return this . _response . type ;
Original file line number Diff line number Diff line change 11{
22 "name" : " socket-fetch" ,
3- "version" : " 1.0.40 " ,
3+ "version" : " 1.0.41 " ,
44 "license" : " LICENSE.txt" ,
55 "description" : " A HTTP transport based on chrome.socket.tcp API." ,
66 "authors" : [
Original file line number Diff line number Diff line change 11{
22 "name" : " socket-fetch" ,
3- "version" : " 1.0.40 " ,
3+ "version" : " 1.0.41 " ,
44 "license" : " LICENSE" ,
55 "description" : " A HTTP transport based on chrome.socket.tcp API." ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments