Replies: 1 comment 2 replies
-
I'm like 85% sure that the content of the HTTP request has already been downloaded here afaik, there is no practical reason to support cancellation because it's effectively just parsing a buffer. Error responses are also typically very small, and if they're not, I would argue that the server is Doing It Wrong |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is there any reason why there is no CancellationToken argument in GetContentAsAsync method?
FromHttpContentAsync method which is called inside accepts CancellationToken.
In my opinion GetContentAsAsync should look like this.
Do you agree?
Thanks,
beda
Beta Was this translation helpful? Give feedback.
All reactions