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
{{ message }}
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.
It seems like the second time the request Body is read. it returns "" which creates the following error
--- FAIL: TestClient_retries (0.10 seconds)
client2_test.go:51: Put http:/foobar/foofile: http: Request.ContentLength=12 with Body length 0
I wrote a test for it:
https://gist.github.com/vivienschilis/f771b5cd9c0ac9093e04
Maybe you have an idea on how to fix it. Doing a ioutil.ReadAll during the roundtrip might not be very elegant.
Let me know if you need more input data.
Thank you
The text was updated successfully, but these errors were encountered: