-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed reset process for request Body for temporary support #342
Conversation
… Body for temporary support.
Oh. What I feared happened. I couldn't reproduce it in the last test, but I didn't think it would be at a time like this. 😅 |
How about using io.TeeReader? |
how about this?
|
Thank you for the suggested modifications. The following PR resolved the problem I will keep this in mind for future reference. |
Triggers for Change
https://github.com/k1LoW/runn/releases/tag/v0.51.0
The previously addressed issue has reappeared in the above version.
#91
The following library versions have changed due to the pkgs update
github.com/getkin/kin-openapi@v0.106.0 -> github.com/getkin/kin-openapi@v0.109.0
The contents of the release are as follows
https://github.com/getkin/kin-openapi/releases/tag/v0.109.0
What we verified
skipValidateRequest: false
, no error occurredgit.luolix.top/getkin/kin-openapi@v0.108.0
version and no more errorsCause Considerations
We believe the error recurred due to the following PR
getkin/kin-openapi#672
The request body reset process in #91 is no longer needed due to modifications to the library itself.
On the contrary, the inclusion of provisional support seems to have caused the content length to be caught in the content length check.
Changes
Deleted the process supported by #91
My project is working well with this response.
Worries
There may be an impact on the functionality of Multipart Form Data