- add
hackney_url:normalize/1
to normalize the encoding of an URL - add the
hackney_mimetypes
modules to manage mimetypes
- improve http response line parsing
- handle response line without reason
- fix
hackney_url:fix_path/1
- add
hackney_url:pathencode/1
to encode the path and follow the IDN specs. http://www.w3.org/International/articles/idn-and-iri/
- add tests
- fix build for R17
- fix hackney_bstr
- fix hackney_date
- add
hackney_multipart:part/3
: to create a full part with custom headers. - fix
hackney_multipart:decode_form/2
- fix
hackney_multipart:encode_form/2
: do not url encode headers properties and fix typoe (s/form_data/form-data) - fix
hackney_multipart:mp_file_header/2
: use the correct default content-disposition for form-data.
- fix multipart header. Do not start the first part with \r\n
- breaking change:
hackney_multipart:encode_form/1
has been rewritten to now return the content-lenght. The format of the parts has also been changed. - add
hackney_multipart:len_mp_stream/2
to get the full content-length of a multipart stream without sending it. - add the possibility to handle an header with params. Now an header can
be passed to the list with its params:
{Name, Value, Params}
- add
hackney_headers:content_disposition/1
to parse the content-disposition header
- http_parser: only check body_state=done wheh we are done.
- http_parser: always return
{done, binary()}
when the parsing is done.
- initial release