Skip to content

@jakubroztocil jakubroztocil released this Jan 12, 2020 · 2 commits to master since this release

  • Removed Python 2.7 support (Python 3.6+ is now required).
  • Added --offline to allow building an HTTP request and printing it but not actually sending it over the network.
  • Replaced the old collect-all-then-process handling of HTTP communication with one-by-one processing of each HTTP request or response as they become available. This means that you can see headers immediately, see what is being sent even if the request fails, etc.
  • Removed automatic config file creation to avoid concurrency issues.
  • Removed the default 30-second connection --timeout limit.
  • Removed Python’s default limit of 100 response headers.
  • Added --max-headers to allow setting the max header limit.
  • Added --compress to allow request body compression.
  • Added --ignore-netrc to allow bypassing credentials from .netrc.
  • Added https alias command with https:// as the default scheme.
  • Added $ALL_PROXY documentation.
  • Added type annotations throughout the codebase.
  • Added tests/ to the PyPi package for the convenience of downstream package maintainers.
  • Fixed an error when stdin was a closed fd.
  • Improved --debug output formatting.
Assets 2
You can’t perform that action at this time.