- Switch some flag positions in the generated cURL command
- Some bugfixes regarding the constructed Req.Request struct when multiple request steps have to be set
- [BREAKING]: From cURL to Req the body gets encoded in the specified encoding and set in the correct Req option
- New
CurlReq.Request
module for an internal representation
- Add new supported flags:
--proxy
and--proxy-user
(#26) - Add more supported auth steps:
netrc
andnetrc_file
(#19) - Add option to exclude
req
steps to run when generating the cURL command - Raise on unrecognized
curl
flags (#27)
- Handle
--data-raw
and--data-ascii
(#16) - Strip
$
as necessary
- Multiline Curl commands are now supported
to_curl/2
now supports short and long argument flag generationto_curl/2
now uses a native curl representation. Can be switched to be exactly like theReq.Request
with theflavor
optionfrom_curl/1
now supports the--compressed
flag
- Add CurlReq.Plugin
- Add new supported flags:
--head
,--form
,--user
and--location
- Add
CurlReq.from_curl/1
- Improved docs and added typespecs
- Change
ex_doc
to a dev dependency. - Support iodata in Req.Request.body.
- Handle cookies in both directions (#4)
- Handle multiple -d/--data flags (#3)
- Handle long curl options (eg, --data, --header) (#2)
Initial Release!