- Update to version 2.6.0
* Added support for formatting & coloring of JSON bodies
preceded by non-JSON data (e.g., an XXSI prefix).
* Added charset auto-detection when `Content-Type` doesn’t
include it.
* Added `--response-charset` to allow overriding the response
encoding for terminal display purposes.
* Added `--response-mime` to allow overriding the response mime
type for coloring and formatting for the terminal.
* Added the ability to silence warnings through using `-q` or
`--quiet` twice (e.g. `-qq`).
* Added installed plugin list to `--debug` output.
* Fixed duplicate keys preservation in JSON data.
OBS-URL: https://build.opensuse.org/request/show/925849
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=21
- Fix tests
- Update dependencies
- Update to version 2.5.0
* Added --raw to allow specifying the raw request body without
extra processing as an alternative to stdin.
* Added support for XML formatting.
* Added internal support for file-like object responses to
improve adapter plugin support.
* Fixed --continue --download with a single byte to be
downloaded left.
* Fixed --verbose HTTP 307 redirects with streamed request body.
* Fixed handling of session files with Cookie: followed by other
headers.
- Update to version 2.4.0
* 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.
OBS-URL: https://build.opensuse.org/request/show/917174
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=20
- update to 2.3.0:
* Added support for streamed uploads (#201).
* Added support for multipart upload streaming (#684).
* Added support for body-from-file upload streaming (http httpbin.org/post @file).
* Added --chunked to enable chunked transfer encoding (#753).
* Added --multipart to allow multipart/form-data encoding for non-file --form requests as well.
* Added support for preserving field order in multipart requests (#903).
* 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 (#932).
* Added out of the box SOCKS support with no extra installation (#904).
* Added --quiet, -q flag to enforce silent behaviour.
* Fixed the handling of invalid expires dates in Set-Cookie headers (#963).
* Removed Tox testing entirely (#943).
- drop httpie-adjust-requirements.patch (obsolete)
- drop singlespec packaging. this is a commandline utility, not a
python module, so building it for multiple versions of python makes
no sense.
OBS-URL: https://build.opensuse.org/request/show/864580
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=17
- update to 2.2.0:
* Added support for custom content types for uploaded files (`#668`_).
* Added support for ``$XDG_CONFIG_HOME`` (`#920`_).
* Added support for ``Set-Cookie``-triggered cookie expiration (`#853`_).
* Added ``--format-options`` to allow disabling sorting, etc. (`#128`_)
* Added ``--sorted`` and ``--unsorted`` shortcuts for (un)setting all sorting-related ``--format-options``. (`#128`_)
* Added ``--ciphers`` to allow configuring OpenSSL ciphers (`#870`_).
* Added ``netrc`` support for auth plugins. Enabled for ``--auth-type=basic``
and ``digest``, 3rd parties may opt in (`#718`_, `#719`_, `#852`_, `#934`_).
* Fixed built-in plugins-related circular imports (`#925`_).
OBS-URL: https://build.opensuse.org/request/show/827634
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=15
- Update to version 2.0.0
* 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 send even when 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.
- Update patch:
* httpie-adjust-requirements.patch
OBS-URL: https://build.opensuse.org/request/show/763526
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=9