-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Odd error when unwrapping a response #715
Comments
Hm, what version of hyper? I just tried that URL using https://github.com/hyperium/hyper/blob/master/examples/client.rs and it worked for me. |
Was on 0.6 when I posted the issue. Updated to 0.7 and still getting the same thing. Here's the log incase it helps
|
To add to the weirdness of the error if I copy paste the client code and use the command line argument URL the response works but if the URL is a string in the code then I get the error. This works
This doesn't
|
I believe this is a bug in the resizing of the buffer. It seems to zero the entire thing, not just the new part. |
@seanmonstar Thanks for speedy fix. |
I'm getting a weird error when trying to get data from this API. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: