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
... should be setting nr.Body, not r.Body. I think the reason for this is the function returns transport.RoundTrip(nr) which at that point holds a reference to the original (and at that point consumed) r.Body.
The text was updated successfully, but these errors were encountered:
Hello,
Trying out the library I looked at the example in the README and came up with this as a basic example for using a POST request:
Trying to run this results in the following output:
I think the problem is that
httpsig/httpsig.go
Line 71 in a491aaf
nr.Body
, notr.Body
. I think the reason for this is the function returnstransport.RoundTrip(nr)
which at that point holds a reference to the original (and at that point consumed)r.Body
.The text was updated successfully, but these errors were encountered: