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
the "net/http/httputil.DumpRequest" will destory the context value storage. #25
Comments
Yeah, that was a design mistake, but I have plans to migrate to |
The most important reason I using this project is the context. (The middleware and plugin system are also great features) It will be close to perfect for me if this issue be solved. Thanks for your work. It helped me save a lot of time, although I spent some time to debug. LOL |
I have just pushed Code lives in There's also an outgoing PR that would be eventually merged once the new release is more mature and I had the change to port third-party plugins/packages too: #26 You should be able to use it via: go get gopkg.in/h2non/gentleman.v2 Let me know how it works. |
Ping! Did you test this in |
@h2non Yes! I am using gentleman@v2. For now, it doesn't cause any issue in my use scene. |
|
Output:
With so many issues caused by wrapping context storage in
http.Request.Body
, I think we urgently need a solution for context storing.The text was updated successfully, but these errors were encountered: