The NetBSD Project

CVS log for pkgsrc/www/py-httpie/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / py-httpie

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Nov 4 17:32:40 2024 UTC (3 days, 2 hours ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
py-httpie: update to 3.2.4.

## [3.2.4](https://github.com/httpie/cli/compare/3.2.3...3.2.4) (2024-11-01)

- Fix default certs loading and unpin `requests`. ([#1596](https://github.com/httpie/cli/issues/1596))

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Oct 10 19:47:07 2024 UTC (3 weeks, 6 days ago) by wiz
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -3 lines
py-httpie: add tool dependency for py-setuptools

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jul 14 06:04:57 2024 UTC (3 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -10 lines
py-httpie: update to 3.2.3.

## [3.2.3]

- Fix SSL connections by pinning the `requests` version to `2.31.0`. ([#1583], [#1581])
- Make it possible to [unset](https://httpie.io/docs/cli/default-request-headers) the `User-Agent` and `Accept-Encoding` request headers. ([#1502]

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Oct 23 06:37:57 2023 UTC (12 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -2 lines
*: update for Python base package change

Instead of depending on one of the removed packages (that are now included
in the base Python packages), include batteries-included.mk to require
a Python version that supplies them.

Remove now included packages.

Bump PKGREVISION.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jul 30 15:41:40 2023 UTC (15 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -7 lines
Remove dependencies for Python 3.7

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun May 21 17:57:54 2023 UTC (17 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -4 lines
py-httpie: update to 3.2.2.

## 3.2.2

- Fixed compatibility with urllib3 2.0.0.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Mar 29 09:34:15 2023 UTC (19 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
*: use PYTHON_VERSION instead of _PYTHON_VERSION

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Oct 25 07:59:07 2022 UTC (2 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +17 -6 lines
py-httpie: updated to 3.2.1

3.2.1
- Improved support for determining auto-streaming when the `Content-Type` header includes encoding information.
- Fixed the display of the crash happening in the secondary process for update checks.

3.2.0
- Added a warning for notifying the user about the new updates.
- Added support for single binary executables.
- Added support for man pages (and auto generation of them from the parser declaration).
- Added `http --manual` for man pages & regular manual with pager.
- Added support for session persistence of repeated headers with the same name.
- Added support for sending `Secure` cookies to the `localhost` (and `.local` suffixed domains).
- Improved UI for the progress bars.
- Fixed redundant creation of `Content-Length` header on `OPTIONS` requests.
- Fixed blocking of warning thread on some use cases.
- Changed `httpie plugins` to the new `httpie cli` namespace as `httpie cli plugins` (`httpie plugins` continues to work as a hidden alias).
- Soft deprecated the `--history-print`.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 9 16:06:52 2022 UTC (2 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -3 lines
py-httpie: update to 3.1.0.

## [3.1.0] (2022-03-08)

- **SECURITY** Fixed the [vulnerability] that caused exposure of cookies on redirects to third party hosts. ([#1312])
- Fixed escaping of integer indexes with multiple backslashes in the nested JSON builder. ([#1285])
- Fixed displaying of status code without a status message on non-`auto` themes. ([#1300])
- Fixed redundant issuance of stdin detection warnings on some rare cases due to underlying implementation. ([#1303])
- Fixed double `--quiet` so that it will now suppress all python level warnings. ([#1271])
- Added support for specifying certificate private key passphrases through `--cert-key-pass` and prompts. ([#946])
- Added `httpie cli export-args` command for exposing the parser specification for the `http`/`https` commands. ([#1293])
- Improved regulation of top-level arrays. ([#1292])
- Improved UI layout for standalone invocations. ([#1296])

## [3.0.2] (2022-01-24)

- Fixed usage of `httpie` when there is a presence of a config with `default_options`. ([#1280])

## [3.0.1] (2022-01-23)

- Changed the value shown as time elapsed from time-to-read-headers to total exchange time. ([#1277])

## [3.0.0] (2022-01-21)

- Dropped support for Python 3.6. ([#1177])
- Improved startup time by 40%. ([#1211])
- Added support for nested JSON syntax. ([#1169])
- Added `httpie plugins` interface for plugin management. ([#566])
- Added support for Bearer authentication via `--auth-type=bearer` ([#1215]).
- Added support for quick conversions of pasted URLs into HTTPie calls by adding a space after the protocol name (`$ https ://pie.dev` → `https://pie.dev`). ([#1195])
- Added support for _sending_ multiple HTTP header lines with the same name. ([#130])
- Added support for _receiving_ multiple HTTP headers lines with the same name. ([#1207])
- Added support for basic JSON types on `--form`/`--multipart` when using JSON only operators (`:=`/`:=@`). ([#1212])
- Added support for automatically enabling `--stream` when `Content-Type` is `text/event-stream`. ([#376])
- Added support for displaying the total elapsed time through `--meta`/`-vv` or `--print=m`. ([#243])
- Added new `pie-dark`/`pie-light` (and `pie`) styles that match with [HTTPie for Web and Desktop]. ([#1237])
- Added support for better error handling on DNS failures. ([#1248])
- Added support for storing prompted passwords in the local sessions. ([#1098])
- Added warnings about the `--ignore-stdin`, when there is no incoming data from stdin. ([#1255])
- Fixed crashing due to broken plugins. ([#1204])
- Fixed auto addition of XML declaration to every formatted XML response. ([#1156])
- Fixed highlighting when `Content-Type` specifies `charset`. ([#1242])
- Fixed an unexpected crash when `--raw` is used with `--chunked`. ([#1253])
- Changed the default Windows theme from `fruity` to `auto`. ([#1266])

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jan 5 15:41:30 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2 lines
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:55:30 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Nov 23 14:09:25 2021 UTC (2 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -7 lines
py-httpie: update to 2.6.0.

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

# 2.5.0

Blog post: [What’s new in HTTPie 2.5.0](https://httpie.io/blog/httpie-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.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 6 15:28:40 2021 UTC (3 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -5 lines
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.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Aug 27 06:01:23 2019 UTC (5 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -5 lines
py-httpie: updated to 1.0.3

1.0.3:
* Fixed CVE-2019-10751 — the way the output filename is generated for
  --download requests without --output resulting in a redirect has
  been changed to only consider the initial URL as the base for the generated
  filename, and not the final one. This fixes a potential security issue under
  the following scenario:

  1. A --download request with no explicit --output is made (e.g.,
     $ http -d example.org/file.txt), instructing httpie to
     generate the output filename <https://httpie.org/doc#downloaded-file-name>_
     from the Content-Disposition response, or from the URL if the header
     is not provided.
  2. The server handling the request has been modified by an attacker and
     instead of the expected response the URL returns a redirect to another
     URL, e.g., attacker.example.org/.bash_profile, whose response does
     not provide  a Content-Disposition header (i.e., the base for the
     generated filename becomes .bash_profile instead of file.txt).
  3. Your current directory doesn’t already contain .bash_profile
     (i.e., no unique suffix is added to the generated filename).
  4. You don’t notice the potentially unexpected output filename
     as reported by httpie in the console output
     (e.g., Downloading 100.00 B to ".bash_profile").

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Nov 30 11:28:55 2018 UTC (5 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -3 lines
py-httpie: updated to 1.0.2

1.0.2:
* Fixed tests for installation with pyOpenSSL.

1.0.1:
* Removed external URL calls from tests.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 21 17:18:04 2018 UTC (5 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -3 lines
py-httpie: updated to 1.0.0

1.0.0:
* Added --style=auto which follows the terminal ANSI color styles.
* Added support for selecting TLS 1.3 via --ssl=tls1.3
  (available once implemented in upstream libraries).
* Added true/false as valid values for --verify
  (in addition to yes/no) and the boolean value is case-insensitive.
* Changed the default --style from solarized to auto (on Windows it stays fruity).
* Fixed default headers being incorrectly case-sensitive.
* Removed Python 2.6 support.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed May 2 07:29:16 2018 UTC (6 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -10 lines
py-httpie: updated to 0.9.9

0.9.8:
* Extended auth plugin API.
* Added exit status code 7 for plugin errors.
* Added support for curses-less Python installations.
* Fixed REQUEST_ITEM arg incorrectly being reported as required.
* Improved CTRL-C interrupt handling.
* Added the standard exit status code 130 for keyboard interrupts.

0.9.6:
* Added Python 3 as a dependency for Homebrew installations
  to ensure some of the newer HTTP features work out of the box
  for macOS users (starting with HTTPie 0.9.4.).
* Added the ability to unset a request header with Header:, and send an
  empty value with Header;.
* Added --default-scheme <URL_SCHEME> to enable things like
  $ alias https='http --default-scheme=https.
* Added -I as a shortcut for --ignore-stdin.
* Added fish shell completion (located in extras/httpie-completion.fish
  in the Github repo).
* Updated requests to 2.10.0 so that SOCKS support can be added via
  pip install requests[socks].
* Changed the default JSON Accept header from application/json
  to application/json, */*.
* Changed the pre-processing of request HTTP headers so that any leading
  and trailing whitespace is removed.

0.9.4:
* Added Content-Type of files uploaded in multipart/form-data requests
* Added --ssl=<PROTOCOL> to specify the desired SSL/TLS protocol version
  to use for HTTPS requests.
* Added JSON detection with --json, -j to work around incorrect
  Content-Type
* Added --all to show intermediate responses such as redirects (with --follow)
* Added --history-print, -P WHAT to specify formatting of intermediate responses
* Added --max-redirects=N (default 30)
* Added -A as short name for --auth-type
* Added -F as short name for --follow
* Removed the implicit_content_type config option
  (use "default_options": ["--form"] instead)
* Redirected stdout doesn't trigger an error anymore when --output FILE
  is set
* Changed the default --style back to solarized for better support
  of light and dark terminals
* Improved --debug output
* Fixed --session when used with --download
* Fixed --download to trim too long filenames before saving the file
* Fixed the handling of Content-Type with multiple +subtype parts
* Removed the XML formatter as the implementation suffered from multiple issues

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Apr 18 19:54:20 2018 UTC (6 years, 6 months ago) by kamil
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -6 lines
py-httpie: Improve distinfo

Reuse the GitHub framework and stop using plain ${PKGVERSION_NOREV}.zip for
distfile name.

No functional change intended.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Mar 9 16:52:45 2015 UTC (9 years, 8 months ago) by imil
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -5 lines
Updated py-httpie to version 0.9.2

0.9.2 (2015-02-24)

    Fixed compatibility with Requests 2.5.1
    Changed the default JSON Content-Type to application/json as UTF-8 is the default JSON encoding

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Feb 8 21:08:21 2015 UTC (9 years, 9 months ago) by imil
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -4 lines
Updated to httpie 0.9.1

0.9.1 (2015-02-07)
  * Added support for Requests transport adapter plugins to enable plugin-provided features such as unix socket communication and HTTP/2.

0.9.0 (2015-01-31)
  * Added --cert and --cert-key parameters to specify a client side certificate and private key for SSL
  * Improved unicode support.
  * Improved terminal color depth detection via curses.
  * To make it easier to deal with Windows paths in request items, \ now only escapes special characters (the ones that are used as key-value separators by HTTPie).
  * Switched from unittest to pytest.
  * Added Python wheel support.
  * Various test suite improvements.
  * Added CONTRIBUTING.
  * Fixed User-Agent overwriting when used within a session.
  * Fixed handling of empty passwords in URL credentials.
  * Fixed multiple file uploads with the same form field name.
  * Fixed --output=/dev/null on Linux.
  * Miscellaneous bugfixes.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jul 16 08:56:34 2014 UTC (10 years, 3 months ago) by imil
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Initial import of py-httpie, version 0.8.0, into the NetBSD Packages Collection.

HTTPie is a command line HTTP client. Its goal is to make CLI interaction with
web services as human-friendly as possible. It provides a simple http command
that allows for sending arbitrary HTTP requests using a simple and natural
syntax, and displays colorized responses. HTTPie can be used for testing,
debugging, and generally interacting with HTTP servers.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>