Skip to content

Commit

Permalink
Merge pull request #21 from matrix-org/hughns/response-url
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns authored Oct 12, 2022
2 parents 30684e6 + 7883f6d commit 396ea48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class HttpBackend {
json: () => unknown;
text: () => unknown;
headers: unknown;
url: unknown;
}> => {
const url = new URL(input);
const qs = Object.fromEntries(url.searchParams);
Expand Down Expand Up @@ -111,6 +112,7 @@ class HttpBackend {
values: () => Object.values(response.headers),
entries: () => Object.entries(response.headers),
},
url: response.url,
});
};

Expand Down

0 comments on commit 396ea48

Please sign in to comment.