Benoit Chesneau

Results 726 comments of Benoit Chesneau

it means i will ensure to close it this week :) Have been a bit more side tracked than expected but will maintain a release sometimes this week.

So I was reading the `Early Hints` https://tools.ietf.org/html/rfc8297 RFC to see how to handle 103. I can't simply ignore it as I expected, instead I need to ready headers, return...

It is expected right now that K/V in the multipart are binaries. I recently added some guards to return a more understandable error in b018bed040d830c5d4232e43d46806191da01e42 (latest master). For the second...

So apparently curl is doing a `multipart/form-data`. It;' not handled _automatically_ yet in hackney but you can send such multipart request manually. Makes sure that a field is a part...

Yes the file will be streamed in that case using `sendfile`. You can also use [hackney:stream_multipart/1](https://github.com/benoitc/hackney/blob/master/doc/hackney.md#stream_multipart-1) and stream each part until EOF.

You can indeed use `{file, Path, ExtraHeaders}` to add the name. Now I guess we could add another pattern `{file, Name, Path, ExtraHeaders}` to do it. Would that works for...

@seantanly Not sure if there will be another option yet. Anyway, you can change the name by setting the disposition header: https://github.com/benoitc/hackney/blob/master/src/hackney_lib/hackney_multipart.erl#L232 Something like ``` erlang Disposition = {, [{,...

Late response, but what are you trying to fix?

thanks! I need to check what the spec says exactly about that. There will be a new release of Hackney next week and will make sure to have it if...