- Update dependencies.
- Implement redirection.
- Implement request, dns, connect and read timeout.
- Fix Chunked enconding.
- Fix -o option.
- Add a functionnal tests suite.
- Use
async-std
instead ofstd
- Stream https ouput while deciphering, remove useless buffering
- Implement
Transfer-Encoding: chunked
. - Use the
Content-Length
returned to get the number of bytes to read before closing the connection - Stream the ouput from the socket to stdout in the CLI
- Update header separate to be strict with the spec. \r is no more consider optional.
- Upgrade dependencies.
- Use the (
env!
macro)[https://doc.rust-lang.org/1.2.0/std/macro.env!.html] to remove duplicated information (from cargo)[https://rurust.github.io/cargo-docs-ru/environment-variables.html#environment-variables-cargo-sets-for-crates].
- Don't panic in case of network errors.
- Add a --resolve command line argument to force resolution to a given address, avoid DNS resolution.
- Add Client.add_authority method to force resolution to a given address, avoid DNS resolution.
- Internal function
http::http_query
signature changes for the new host resolution feature.
- Update dependencies.
- Convert request to bytes instead of string to send it.
- Split http response headers using bytes regex.
- CLI - Fix download of binary files.
- Use (read)[https://doc.rust-lang.org/std/io/trait.Read.html#tymethod.read] instead of (read_to_end)[https://doc.rust-lang.org/std/io/trait.Read.html#method.read_to_end]
- CLI - Flush the output stream when the response is complete.
- Initial release that handle http and https query with command line and library.