Page MenuHomeSolus

Update httpie to 2.0.0
ClosedPublic

Authored by rptx on Feb 24 2020, 10:18 PM.
Tags
None
Referenced Files
F10885474: D8361.id19978.diff
Jun 25 2023, 11:29 AM
F10885473: D8361.id19978.diff
Jun 25 2023, 11:29 AM
F10884873: D8361.id19976.diff
Jun 25 2023, 4:00 AM
F10884685: D8361.id19977.diff
Jun 25 2023, 1:55 AM
F10883895: D8361.id20651.diff
Jun 24 2023, 3:55 PM
F10881748: D8361.diff
Jun 23 2023, 4:13 AM
F10766135: D8361.id20651.diff
May 19 2023, 4:52 PM
F10728407: D8361.diff
May 10 2023, 6:41 AM
Subscribers

Details

Summary

Depends on D8360

  • 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.

Signed-off-by: Régis Patroix <regis.patroix@gmail.com>

Test Plan

Build package
Install package
Test using "http httpie.org"

Diff Detail

Repository
R1413 httpie
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rptx requested review of this revision.Feb 24 2020, 10:18 PM
rptx retitled this revision from Update httpie to 2.0.0, depends on D8360 to Update httpie to 2.0.0.
rptx edited the summary of this revision. (Show Details)
rptx added a parent revision: D8360: Update pygments to 2.5.2.

Update description and summary

This revision is now accepted and ready to land.Mar 7 2020, 10:38 PM
This comment was removed by rptx.
This revision was automatically updated to reflect the committed changes.