Skip to content

Commit

Permalink
[browser][http] Set HttpResponseMessage.RequestMessage (#42822)
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau authored Sep 29, 2020
1 parent 73e1543 commit c3171f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ protected internal override async Task<HttpResponseMessage> SendAsync(HttpReques

var status = new WasmFetchResponse(t, abortController, abortCts, abortRegistration);
HttpResponseMessage httpResponse = new HttpResponseMessage((HttpStatusCode)status.Status);
httpResponse.RequestMessage = request;

// Here we will set the ReasonPhrase so that it can be evaluated later.
// We do not have a status code but this will signal some type of what happened
Expand Down

0 comments on commit c3171f5

Please sign in to comment.