16 Commits

Author SHA256 Message Date
Martin Hauke
0bf6812bca Accepting request 1088072 from home:DarkWav
Update to version 3.2.2
- Major version upgrade, expect API breakage
- Too many changes since 2.6.0 to list here, for a full changelog please visit:
https://github.com/httpie/httpie/blob/master/CHANGELOG.md
- Disable more tests that fail in OBS
- Update dependencies
- Update fdupes deduplication
- Add bash and fish completion support

If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/request/show/1088072
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=24
2023-05-22 13:59:09 +00:00
Martin Hauke
48c638e74a Accepting request 972764 from home:pgajdos:python
- python3-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/972764
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=22
2022-04-26 19:05:44 +00:00
45a3e3e342 Accepting request 925849 from home:mnhauke
- 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
2021-10-29 13:00:01 +00:00
7eeb1e30e0 Accepting request 917174 from home:mnhauke
- 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
2021-09-10 14:45:04 +00:00
Martin Hauke
ffef47d351 Accepting request 880088 from home:robert_munteanu:branches:network:utilities
Disable tests that fail in OBS

OBS-URL: https://build.opensuse.org/request/show/880088
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=18
2021-04-06 13:01:02 +00:00
975ddae850 Accepting request 864580 from home:dirkmueller:branches:network:utilities
- 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
2021-01-25 10:14:09 +00:00
8c271e237f Accepting request 827634 from home:dirkmueller:branches:network:utilities
- 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
2020-08-20 15:50:01 +00:00
1f1437c48e Accepting request 795527 from home:mnhauke
- Update to version 2.1.0
  * Added --path-as-is to bypass dot segment (/../ or /./) URL
    squashing.
  * Changed the default value 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.

OBS-URL: https://build.opensuse.org/request/show/795527
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=13
2020-04-27 11:59:19 +00:00
Martin Hauke
af346943c1 Accepting request 790281 from home:mcepl:branches:network:utilities
- Don't use %python3_only command, but properly use alternatives.

OBS-URL: https://build.opensuse.org/request/show/790281
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=11
2020-03-31 19:07:33 +00:00
528b4654b1 Accepting request 763526 from home:mnhauke
- 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
2020-01-20 12:53:52 +00:00
Martin Hauke
b99be4b873 Accepting request 758866 from home:mnhauke
- Add patch:
  * httpie-adjust-requirements.patch
    Lower requirements for requests and Pygemnts to make it work
    on Leap 15.1

OBS-URL: https://build.opensuse.org/request/show/758866
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=7
2020-01-02 11:01:29 +00:00
Martin Hauke
8ff44f9419 Accepting request 726511 from home:mnhauke
- Update to version 1.0.3
  * Fix CVE-2019-10751 (HTTPie is volnerable to Open Redirect that
    allows an attacker to write an arbitrary file with supplied
    filename and content to the current directory, by redirecting
    a request from HTTP to a crafted URL pointing to a server in
    his or hers control.

OBS-URL: https://build.opensuse.org/request/show/726511
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=5
2019-08-31 13:44:43 +00:00
Dominique Leuenberger
6fefa5ee01 Accepting request 659815 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/659815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=1
2018-12-19 12:54:03 +00:00
Martin Hauke
4357696d56 Accepting request 658772 from home:mnhauke
- Add manpage

OBS-URL: https://build.opensuse.org/request/show/658772
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=3
2018-12-16 20:01:11 +00:00
Martin Hauke
ef93928a81 Accepting request 658667 from home:jengelh:branches:network:utilities
- Trim bias from description.

OBS-URL: https://build.opensuse.org/request/show/658667
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=2
2018-12-15 19:42:24 +00:00
202efa23b5 Accepting request 657710 from home:mnhauke
Initial package for httpie

OBS-URL: https://build.opensuse.org/request/show/657710
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=1
2018-12-13 14:46:04 +00:00