- Follow redirects if downloading a file, see #51 (@blyxxyz)
- Allow form value regex to match newlines, see #46 (@blyxxyz)
- Adds --headers option, see #42 (@sanpii)
- Rename ht binary to xh
- Add support for OPTIONS HTTP method, see #17 (@plombard)
- Add --body flag for printing only response body, see #38 (@idanski)
- Add content length to file upload stream, see #32 (@blyxxyz)
- Include User-Agent header in outgoing requests, see #33 (@blyxxyz)
- Ensure filename from
content-disposition
doesn't overwrite existing files, isn't a hidden file, or doesn't end up outside the current directory, see #37 (@blyxxyz) - Bubble errors up to main() instead of panicking see #37 (@blyxxyz)
- Add support for HEAD requests, see #16 (@Till--H)
- Support setting the content-type for files in multipart requests e.g
ht httpbin.org/post --multipart [email protected];type=image/png
- Add
--follow
and--max-redirects
for configuring redirect behaviour, see #19 (@Till--H)
- Render white text as the default foreground color, see #21 (@blyxxyz)
- Don't insert lines when streaming json.
- Do not explicitly add
Host
header, see #26 (@blyxxyz)
- Init parsing regex for RequestItem once, see #22 (@jRimbault)
- Support streaming responses. This on by default for unformatted responses and can also
be enabled via the
--stream
flag
- Support output redirection for downloads e.g
ht -d httpbin.org/json > temp.json
- Upgrade to Tokio 1.x.