Path to this page:
Subject: CVS commit: pkgsrc/www/py-httpie
From: Adam Ciarcinski
Date: 2021-04-06 17:28:40
Message id: 20210406152840.6C8E8FA95@cvs.NetBSD.org
Log Message:
py-httpie: updated to 2.4.0
2.4.0 (2021-02-06)
Added support for --session cookie expiration based on Set-Cookie: max-age=<n>.
Show a --check-status warning with --quiet as well, not only when the output is \
redirected.
Fixed upload with --session
Fixed a missing blank line between request and response
2.3.0 (2020-10-25)
Added support for streamed uploads
Added support for multipart upload streaming
Added support for body-from-file upload streaming (http pie.dev/post @file).
Added --chunked to enable chunked transfer encoding
Added --multipart to allow multipart/form-data encoding for non-file --form \
requests as well.
Added support for preserving field order in multipart requests
Added --boundary to allow a custom boundary string for multipart/form-data requests.
Added support for combining cookies specified on the CLI and in a session file
Added out of the box SOCKS support with no extra installation
Added --quiet, -q flag to enforce silent behaviour.
Fixed the handling of invalid expires dates in Set-Cookie headers
Removed Tox testing entirely
2.2.0 (2020-06-18)
Added support for custom content types for uploaded files
Added support for $XDG_CONFIG_HOME
Added support for Set-Cookie-triggered cookie expiration
Added --format-options to allow disabling sorting, etc.
Added --sorted and --unsorted shortcuts for (un)setting all sorting-related \
--format-options.
Added --ciphers to allow configuring OpenSSL ciphers
Added netrc support for auth plugins. Enabled for --auth-type=basic and digest, \
3rd parties may opt in
Fixed built-in plugins-related circular imports
2.1.0 (2020-04-18)
Added --path-as-is to bypass dot segment (/../ or /./) URL squashing
Changed the default Accept header value for JSON requests from application/json, \
*/* to application/json, */*;q=0.5 to clearly indicate preference
Fixed --form file upload mixed with redirected stdin error handling
2.0.0 (2020-01-12)
Removed Python 2.7 support (EOL Jan 2020).
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.
Files: