Skip to content

HttpResponseMessage.RequestMessage - when is this null? #104113

Answered by huoyaoyuan
RenderMichael asked this question in Q&A
Discussion options

You must be logged in to vote

Can the HttpClient.SendAsync methods ever return a response message with a null request message?

The default handlers will always set the property, but HttpClient support custom handlers which may not properly construct the response message.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RenderMichael
Comment options

@huoyaoyuan
Comment options

Answer selected by RenderMichael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants