Skip to content
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

Correctly reset the parser #686

Merged
merged 1 commit into from
Sep 9, 2021
Merged

Correctly reset the parser #686

merged 1 commit into from
Sep 9, 2021

Conversation

bryanp
Copy link
Contributor

@bryanp bryanp commented Sep 9, 2021

Resolves #685.

irb(main):004:0> HTTP.via('127.0.0.1', 8080).get('https://httpbin.org/get')
=> #<HTTP::Response/1.1 200 OK {"Date"=>"Thu, 09 Sep 2021 22:27:04 GMT", "Content-Type"=>"application/json", "Content-Length"=>"235", "Connection"=>"close", "Server"=>"gunicorn/19.9.0", "Access-Control-Allow-Origin"=>"*", "Access-Control-Allow-Credentials"=>"true"}>

I propose we include this as part of a 0.5.2 release.

@tarcieri
Copy link
Member

tarcieri commented Sep 9, 2021

Thank you!

@tarcieri tarcieri merged commit d6186a5 into httprb:master Sep 9, 2021
@bryanp bryanp deleted the parser-reset branch September 9, 2021 22:50
@tarcieri tarcieri mentioned this pull request Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP::ConnectionError on HTTPS queries through HTTP proxies
2 participants