Commit Graph

1796 Commits

Author SHA1 Message Date
github-actions[bot]
2843b874c6
[automated] Update generated content (#1607)
Co-authored-by: jkbrzt <jkbrzt@users.noreply.github.com>
2024-11-01 10:35:35 -07:00
Jakub Roztocil
2105caa49b 3.2.4 2024-11-01 18:29:56 +01:00
Jakub Roztocil
8560d1196d Update test.yml 2024-11-01 18:01:03 +01:00
Jakub Roztocil
2ef4a57d8c Fix/refactor default cert loading 2024-11-01 17:47:27 +01:00
Jakub Roztocil
ff742581f4 Cleanup default cert loading 2024-11-01 17:38:39 +01:00
Adam Williamson
fd30c4ef62
Explicitly load default certificates when creating SSL context (#1583) (#1596)
* Explicitly load default certificates when creating SSL context (#1583)

Requests prior to 2.32.3 always loaded the default (system-wide)
set of trusted certificates into custom SSL contexts. 2.32.3 no
longer does. This has broken a lot of users, but the fix is
moving slowly upstream due to security considerations - see
https://github.com/psf/requests/issues/6730 and
https://github.com/psf/requests/pull/6731 .

As suggested at
https://github.com/psf/requests/pull/6710#issuecomment-2137802782
this can be worked around by explicitly loading the default
certificates into the context. We check the method exists before
calling it just to be safe, it was added in Python 3.4.

Signed-off-by: Adam Williamson <awilliam@redhat.com>

* Drop the upper bound on the requests dependency again

As we can now work with requests 2.32.3+, we no longer need this
pin.

Signed-off-by: Adam Williamson <awilliam@redhat.com>

---------

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-01 09:37:11 -07:00
Nguyễn Hồng Quân
cee82c825e
Fix link to CurliPie tool (#1582)
* Fix link to CurliPie tool

* Use the link to web version for CurliPie

Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>

---------

Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>
2024-10-31 09:13:24 -07:00
Dennis Heinrich
9eb8699873
Added an alias for HTTPS in fish completions (#1598)
Ensure that fish completion is working with the `https` command. It just wraps the identical completions from `http` to `https`.
2024-10-31 09:10:54 -07:00
Arthur
3037327410
Update the raw json fields example (#1606) 2024-10-31 09:02:17 -07:00
André Srinivasan
50e1564600
Update the Forms section of README.md (#1593)
The Forms section of README.md was missing what the data fields are serialized as.
2024-10-28 20:28:36 +01:00
Jakub Roztocil
f4cf43ecdd Cleanup 2024-07-10 16:24:03 +02:00
Jakub Roztocil
7f03c52d22 Fix SSL connections by pinning the requests version to 2.31.0
Close #1583
Close #1581
2024-07-10 16:20:38 +02:00
Jakub Roztocil
5c068f8102 Re-add conditional colorama dependency
#1553
2024-03-18 16:53:23 +01:00
Mathieu Dupuy
10b7d317d0
Migrate setup.py to setup.cfg (#1553)
* migrate setup.py to setup.cfg

No man pages

* fix Makefile build

* silence flake8 F811 for BaseCLIResponse.command

* also include man pages

* restore a stub setup.py

* remove pytest-lazy fixtures
2024-03-18 16:37:09 +01:00
Jakub Roztocil
3de7c82077 Cleanup 2024-03-04 18:12:18 +01:00
Jakub Roztocil
db16bbee96 Drop dependency on the abandoned python-lazy-fixture II. 2024-03-04 18:05:26 +01:00
Jakub Roztocil
3524ccf0ba Drop dependency on the abandoned python-lazy-fixture 2024-03-04 16:28:03 +01:00
Aliaksei Urbanski
8ac44b57ce
Ensure support for Python 3.11/3.12 (#1540)
These changes:
  * enable testing for Python 3.11/3.12 on CI
  * update classifiers at setup.py
2024-03-04 15:57:45 +01:00
Aolin
2db28ef692
docs: fix typo (#1548) 2024-03-04 15:37:15 +01:00
github-actions[bot]
7a234d60da
[automated] Update generated content (#1566)
Co-authored-by: jkbrzt <jkbrzt@users.noreply.github.com>
2024-03-04 15:36:44 +01:00
Matthieu LAURENT
a842a932cc
docs: Update the url for offline mode (#1556) 2024-03-04 15:35:32 +01:00
vostok92
b934eec7fc
Replace redirection with tee command with sudo for file creation (#1557) 2024-03-04 15:34:57 +01:00
Jakub Roztocil
9e8e3691c8
Update README.md 2023-10-24 10:23:30 -07:00
github-actions[bot]
e52a60e67c
[automated] Update generated content (#1524)
Co-authored-by: jakubroztocil <jakubroztocil@users.noreply.github.com>
2023-08-06 14:35:57 +02:00
Jakub Roztocil
8aa654d1ef
Update README.md 2023-08-06 14:15:10 +02:00
Jakub Roztocil
011402152c Rename repo from httpie/httpie to httpie/cli 2023-08-06 14:04:32 +02:00
Rudolf Olah
30a6f73ec8
README.md: fix the file based separators internal link (#1510)
The link to "file based separators" in the "Reading headers from a file" section when rendered to HTML does not work. The link is now fixed by providing a URL and link text.
2023-05-24 08:22:56 -07:00
Boris Verkhovskiy
ec4fb84254
Document restriction on top-level JSON types explicitly (#1496)
* Document restriction on top-level JSON types explicitly

* Update docs/README.md

---------

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2023-05-23 05:11:41 -07:00
github-actions[bot]
c8c135ffff
[automated] Update generated content (#1509)
Co-authored-by: jakubroztocil <jakubroztocil@users.noreply.github.com>
2023-05-22 11:57:31 -07:00
Jakub Roztocil
2da955fb06
Man page clean-up (#1508)
Ensure we don’t include dynamic content in the static man pages.
2023-05-22 11:56:30 -07:00
github-actions[bot]
c2677eeccf
[automated] Update auto-generated files (#1507)
Co-authored-by: jakubroztocil <jakubroztocil@users.noreply.github.com>
2023-05-22 11:40:01 -07:00
Jakub Roztocil
5325a9bc07 Remove skipping
Always skipped
2023-05-22 19:01:36 +02:00
chrysle
2e3272b5ba
Fixed installation steps for Debian & Ubuntu (#1473) (#1475)
* Fixed installation steps for Debian & Ubuntu

* Fixed incorrect path
2023-05-22 09:50:25 -07:00
Jakub Roztocil
5dc30bc438 Ensure sudo for apt 2023-05-22 18:44:07 +02:00
Jakub Roztocil
442aa673ac Fix Choco changelog link 2023-05-22 18:04:06 +02:00
Jakub Roztocil
3e290e5dba Fix Snap publish action 2023-05-22 17:51:22 +02:00
Jakub Roztocil
2a9cd226aa Bump version for Chocolatey 2023-05-22 16:21:25 +02:00
Jakub Roztocil
3b58a4a4a2 Trigger docs deploy 2023-05-20 00:01:37 +02:00
Jakub Roztocil
7512ca7e47 Fix docs deploy 2023-05-20 00:01:10 +02:00
Jakub Roztocil
cc697db730 Add a changelog entry for #1502 2023-05-19 23:59:08 +02:00
Abdelhakim Qbaich
cbe53ed79a
Avoid override of headers by urllib3 when unset (#1502)
* Pass SKIP_HEADER const when header is unset

* Hide SKIP_HEADER constant when displaying headers

* Test that omits User-Agent
2023-05-19 23:53:26 +02:00
Jakub Roztocil
3664644722 Fix issue link 2023-05-19 23:44:52 +02:00
Jakub Roztocil
29de4ce115 v3.2.2 2023-05-19 23:41:26 +02:00
Jakub Roztocil
879fedc10a Flake8 2023-05-19 23:41:16 +02:00
Jakub Roztocil
18bb49b268 Skip a test failing in CI 2023-05-19 23:29:09 +02:00
Jakub Roztocil
fcd3f7ece6 Generate default ciphers using approach from #1501 2023-05-19 22:26:33 +02:00
Jakub Roztocil
8e56e9fc64 Fix a failing test 2023-05-19 21:51:52 +02:00
Jakub Roztocil
44d3cff03f Fix log level display on newer Python 2023-05-19 21:51:32 +02:00
Jakub Roztocil
d021b94b5d Clean up DEFAULT_SSL_CIPHERS comments 2023-05-19 21:50:58 +02:00
C-A de Salaberry
4e29a6d561
fix(urllib3): 🐛 could not find urllib3 DEFAULT_CIPHERS (#1505) 2023-05-19 21:18:55 +02:00