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
Expected behavior
The request body should remain intact after reading it
Additional context
The request body in Go is a ReadCloser interface. Once you read the content, the buffer will be empty.
I had forgotten about that behaviour in my previous PR
Bug Report Checklist
Description
Reading the request body in the sign function leaves it empty
To Reproduce
Test to illustrate the behaviour:
Expected behavior
The request body should remain intact after reading it
Additional context
The request body in Go is a
ReadCloser
interface. Once you read the content, the buffer will be empty.I had forgotten about that behaviour in my previous PR
Related issues/PRs
PR #10 created
The text was updated successfully, but these errors were encountered: