net/http: document r.Context().Done() behaviour on cancelled POST request #33340
Labels
Documentation
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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: