net/http/httputil: DumpRequestOut error when POST responds with 301 #47161
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
There appears to be a bug with
httputil.DumpRequestOut
... withbody
set totrue
and doing a POST request and if the server responds with a 301 ... it errors out...The error that you get is
http: ContentLength=2265 with Body length 0
fromtransfer.go
inwriteBuf
If you remove the
DumpRequestOut
, everything works fine...The text was updated successfully, but these errors were encountered: