HTTPie 2.0.0 release, HTTP command-line tool bag

HTTPie HTTP is an open source command line tool package provides a command-line interactive way to access the HTTP service. HTTPie 2.0.0  has been released, this version specific updates are as follows:

  • Removed support for Python 2.7's (now requires Python 3.6+).
  • Was added --offlineto allow the construct HTTP request and print it, but does not actually send it over the network.
  • When each of the HTTP request or response is available, the processing by one of them to replace the old collect-all-then-process handling HTTP communication. This means you can instantly see headers, even if the request fails you can also see what's being sent, and so on.
  • Delete the automatic configuration file is created in order to avoid concurrency issues.
  • 30 seconds to delete the default connection --timeoutlimit.
  • Delete the default Python 100 response header limit.
  • Was added --max-headersto allow setting the maximum limit headers.
  • Added --compress request to allow the body compress.
  • It has been added --ignore-netrcto allow the bypass from the .netrccredentials.
  • Add the httpsalias command, https://as the default program.
  • Add the $ALL_PROXYdocument.
  • Add type annotations throughout the code base.
  • Was added tests/to the package to facilitate downstream PyPi package maintainers.
  • Repair stdinis wrong when closed fd.
  • Improved --debug output format.

Details: https://github.com/jakubroztocil/httpie/releases

Guess you like

Origin www.oschina.net/news/112771/httpie-2-0-0-released