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
Spring cleaning #138
Spring cleaning #138
Conversation
I can't remember exactly, but I think this is to support to https://github.com/benoitc/hackney/blob/master/src/hackney.erl#L210-L213 |
This reverts commit 52bafbd.
Indeed. I added a test case for that. |
I'm done here, by the way, so you can merge this, if you want. Otherwise I'll close it. |
Ok, great. I'll review. |
@woylie thank you! |
Just a bit of (admittedly oddly timed) spring cleaning.
I'm a bit confused about the case statement in
OAuth2.Request.request/5
:According to the documentation, the return types of
:hackney.request/5
are:So the branch
{:ok, status, headers, body} when is_binary(body)
doesn't seem to make sense. But then I'm wondering why dialyzer doesn't put out a warning? Is that branch safe to remove?