This repository has been archived by the owner on May 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Header non-string values #46
Comments
Hi there! Sorry for the delayed reply. Your idea is a good one and I would happily accept a PR. |
@gamache Now that I think about it, maybe it's better to fix it in Mint? Somewhere here: https://github.com/elixir-mint/mint/blob/master/lib/mint/http1.ex#L237 What do you think? |
Let's see what Mint folks say. |
Ok, let's fix it in Mojito :) |
Fixed in 0.6.2. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using mojito as a Http client for ExAws.
When trying to download a file, I'm getting:
This is happening because of this part
{"content-length", 0}
, if I preprocess the headers and convert the values to strings, then it works.Should mojito be more permissive, and auto-convert the values? Will gladly do a PR.
The text was updated successfully, but these errors were encountered: