You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RoundTripper POST request retries will fail with http: ContentLength=449 with Body length 0 error for each retry, when the first error returned by original RoundTripper is net/http: timeout awaiting response headers (or others, which are caused once the TCP transport level is established and the request body is sent). The original RoundTripper reads the body and body reader internal pos is set to the end, therefore we need to unread/rewind/set the read position to the beginning, or define a custom request's ReadBody method.
The text was updated successfully, but these errors were encountered:
RoundTripper POST request retries will fail with
http: ContentLength=449 with Body length 0
error for each retry, when the first error returned by original RoundTripper isnet/http: timeout awaiting response headers
(or others, which are caused once the TCP transport level is established and the request body is sent). The original RoundTripper reads the body and body reader internal pos is set to the end, therefore we need to unread/rewind/set the read position to the beginning, or define a custom request's ReadBody method.The text was updated successfully, but these errors were encountered: