]> git.ipfire.org Git - thirdparty/httpx.git/commit
Add cli support (#1855) 1.0.0.beta0
authorTom Christie <tom@tomchristie.com>
Tue, 14 Sep 2021 08:44:43 +0000 (09:44 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Sep 2021 08:44:43 +0000 (09:44 +0100)
commitee9250d60bc5cf49b4949fc961a82b42f9ab1bcc
tree6d757f727307a8641ed901bb013852bce01ef0c0
parenta761e17abc9649d62dd1ff4c9df975c5ed1c6f99
Add cli support (#1855)

* Add cli support

* Add setup.py

* Import main to 'httpx.main'

* Add 'cli' to requirements

* Add tests for command-line client

* Drop most CLI tests

* Add test_json

* Add test_redirects

* Coverage exclusion over _main.py in order to test more clearly

* Black formatting

* Add test_follow_redirects

* Add test_post, test_verbose, test_auth

* Add test_errors

* Remove test_errors

* Add test_download

* Change test_errors - perhaps the empty host header was causing the socket error?

* Update test_errors to not break socket

* Update docs

* Update version to 1.0.0.beta0

* Tweak CHANGELOG

* Fix up images in README

* Tweak images in README

* Update README
14 files changed:
CHANGELOG.md
README.md
docs/compatibility.md
docs/img/httpx-help.png [new file with mode: 0644]
docs/img/httpx-request.png [new file with mode: 0644]
docs/index.md
docs/quickstart.md
httpx/__init__.py
httpx/__version__.py
httpx/_main.py [new file with mode: 0644]
requirements.txt
setup.py
tests/conftest.py
tests/test_main.py [new file with mode: 0644]