-
Notifications
You must be signed in to change notification settings - Fork 17.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http: document r.Context().Done() behaviour on cancelled POST request #33340
Comments
A better place to ask this kind of question is golang-nuts. See https://golang.org/wiki/Questions. |
@julieqiu I think you are missing my point. I'm not asking about the answer. I have the answer already, and even in the [stackoverflow]https://stackoverflow.com/questions/57246852 it's also answered. But the things it the answer is not documented in any golang doc. This might cause some confusion. |
What I mean is above statement. I think it's need to be documented. On On |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
Recently I found this question on stack overflow, the OP asked why the
r.Context().Done()
channel does not receive any data on cancelledPOST
request. But it does receive data on cancelledGET
request.I tried to find the relevant explanation on the go doc, but I found nothing. Is this not documented?
The text was updated successfully, but these errors were encountered: