Jonas Lundberg
2dbcaf859f
Document mocking compatibility ( #537 )
2019-11-18 12:16:06 +00:00
Florimond Manca
95b2b24302
Add docs on SSL certificates ( #510 )
...
* Add docs on SSL certificates
* Update docs on verify and cert params
* Tweak wording
* Tweak wording about localhost
* Remove advanced warning
* Rephrase introduction of local HTTPS section
2019-11-07 10:46:36 +01:00
Florimond Manca
08069e9368
Add DEBUG logs of HTTP requests ( #502 )
2019-11-06 22:56:25 +01:00
Florimond Manca
07586f97e8
Convert debug logs to trace logs ( #500 )
...
* Convert debug logs to trace logs
* Update environment variables docs
* Update logging test
2019-11-02 22:40:15 +01:00
Tom Christie
1ce3cc3269
First pass at autodoc support ( #464 )
...
* First pass at autodoc support
* Add mkautodoc requirement for docs builds
* Linting
* pip install httpx when building docs, to make it available to mkautodoc
* Fix code example in docstring slightly
* Use latest mkautodoc to resolve rendering of code snippets in docstrings
* Fill in 'Helper functions' API docs
* First pass at documenting Client
* Add autodoc for Client
* Update to mkautodoc 0.1
* Fix typos
2019-10-30 16:21:39 +01:00
Yeray Diaz Diaz
9ec2cfc5dc
Multipart files tweaks ( #482 )
...
* Allow filenames as None in multipart encoding
* Allow str file contents in multipart encode
* Some formatting changes on `advanced.md`
* Document multipart file encoding in the advanced docs
* Update docs/advanced.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-10-20 13:25:00 +01:00
Florimond Manca
ad38db82f9
Document client-level configuration ( #488 )
...
* Document client-level configuration
* Fix typo
2019-10-19 15:05:26 +02:00
Yeray Diaz Diaz
09db6ec935
Drop proxies parameter from the high level API ( #485 )
...
* Drop `proxies` argument from high level API
* Update state of Digest auth in docs
* Add note on not supporting proxies at request level
* Grammar tweak
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-10-19 14:51:27 +02:00
Florimond Manca
074cd25b04
Document client block-usage and close() ( #487 )
...
* Document client context manager vs close() usage
* Convert client snippets to use context-managed syntax
2019-10-19 13:52:44 +02:00
Mateusz Woś
2984499f28
Add timeout fine-tunning advanced docs section ( #476 )
...
* Add timeout fine-tunning advanced docs section
* Rephrase part of timeout documentation
2019-10-16 18:27:45 +02:00
Can Sarıgöl
84731c8be5
Cache netrc authentication per-client ( #400 )
2019-10-16 08:31:47 -05:00
Florimond Manca
5e4f54d643
Add test script ( #451 )
2019-10-12 18:14:44 +02:00
Seth Michael Larson
a80c43294b
Add hints for debugging CI issues ( #399 )
2019-10-10 07:05:22 -05:00
Florimond Manca
65b8593c7c
Allow serving docs via nox ( #450 )
2019-10-10 07:02:17 -05:00
thebigmunch
391786696a
Fix some grammar in Advanced docs ( #461 )
2019-10-09 20:01:37 +02:00
ImPerat0R_
97a104abc3
Add language syntax highlighting in Quickstart ( #466 )
2019-10-09 18:34:54 +02:00
Jt Miclat
31730e7095
Add documentation for requests.Session compatibility ( #449 )
2019-10-05 19:20:18 -05:00
nwalsh1995
f504399781
Fix link to parallel page from async page ( #440 )
2019-10-03 20:08:27 -05:00
Davit Tovmasyan
2f2a4e4ef0
Document the files parameter on .post(), .patch(), and .put() ( #409 ) ( #414 )
2019-10-03 19:47:19 -05:00
Jt Miclat
85fa89c49c
Document compatibility difference for get, delete, head, and options ( #418 )
2019-10-03 19:46:24 -05:00
Kyle Galbraith
b65bce5924
Fix typos, spelling issues, and grammar in docs ( #426 )
2019-10-02 11:46:54 -05:00
Dustin Ingram
5df822ca11
Fix broken docs ( #415 )
...
* Fix broken link to parallel request page
* Fix incomplete code block on quickstart page
2019-09-30 20:19:53 +01:00
Ahmed Maher
5ced56b5b5
Expose ASGIDispatch & WSGIDispatch in the 'dispatch' namespace. ( #407 )
2019-09-28 14:55:19 -05:00
Jt Miclat
6752f7d6f6
Remove data, json and files parameters in delete() function ( #408 )
2019-09-28 12:18:40 -05:00
Florimond Manca
3496525d02
Document supported async libraries ( #387 )
...
* Document supported async libraries
* Update async.md
2019-09-26 13:43:56 +02:00
Can Sarıgöl
c9810a79d9
Add support for SSL_CERT_FILE and SSL_CERT_DIR ( #307 )
2019-09-23 10:24:53 -05:00
Tyrel Souza
5dc646fb9f
Adding params to Client ( #372 )
2019-09-23 09:22:21 -05:00
Florimond Manca
12752466ae
Document the release process ( #363 )
...
* Document release process
* Update changelog instructions w/ ref to keepachangelog
* Prettify bullet points
* Add docs deploy to release script
2019-09-21 09:12:53 +02:00
Seth Michael Larson
b0fa0859a8
Configure Proxy from Client ( #353 )
...
* Incorporate suggestions
* Start of proxy config
* Incorporate suggestions
* Add proxies to high-level API, docs
* Update client.py
2019-09-20 12:33:06 -05:00
Roy Williams
05ac117679
Add .elapsed onto Response objects tracking how long a request took. ( #351 )
...
* Add `.elapsed` onto Response objects tracking how long a request took.
* Move elapsed timing from send methods into _get_response
* Address feedback
* Update tests/test_api.py
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-09-18 20:29:01 +02:00
Yeray Diaz Diaz
8155352d20
Document digest auth ( #348 )
...
* Document authentication
* Fix linting errors
* Tweak wording
* Update docs/quickstart.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-09-16 12:50:00 +01:00
Florimond Manca
4616031202
Document + recommend async with syntax for AsyncClient ( #344 )
2019-09-15 18:29:37 +02:00
Paul (xobb) Chubatyy
0c4460e622
Add example of specifying HTTP versions ( #337 )
...
Closes #336
2019-09-12 22:39:22 +02:00
Dobrovolsky Bogdan
08edfac37d
Add build_request to Client ( #319 )
...
* Update documentation
* Update documentation
* Update tests
Rename `_send` -> `_get_response`
Update documentation
* Code format with black
* Change documentation example to OPTIONS *
* Update documentation
Small code reformat
* `echo_headers` return json
* Simplify test
* Fix typo
2019-09-08 08:03:59 -05:00
can
c7af2b1a5d
added hstspreload in Dependencies docs
2019-09-05 10:40:06 +03:00
Tomás Farías
db7f2d0df3
Add support for SSLKEYLOGFILE ( #301 )
...
* Skip test if OpenSSL version is lower than 1.1.1
* Use bionic dist for Python 3.8 job
* Pass trust_env to SSLConfig use monkeypatch in testing
* Don't raise KeyError if SSLKEYLOGFILE is not set
* Move trust_env after verify and cert
2019-09-01 08:01:11 -05:00
toppk
9e420a5c34
Automatically convert Client.cookies and Client.headers on set ( #274 )
2019-08-27 19:25:30 -05:00
Seth Michael Larson
6f4f186522
Add easier debug logging for users ( #277 )
...
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-08-27 11:43:13 -05:00
Seth Michael Larson
e7aa6d6710
Force HTTP/1.1 on short-lived connections ( #284 )
2019-08-27 07:54:11 -05:00
Tom Christie
c1ec1c33cd
Response.protocol -> Response.http_version ( #250 )
...
* Response.protocol -> Response.http_version
* Update docs
2019-08-20 15:15:38 +01:00
Tom Christie
ef9fc0f3a7
Drop raise_app_exceptions Client argument. ( #238 )
...
* Drop `raise_app_exceptions` keyword argument
* Improve docstrings for WSGIDispatch and ASGIDispatch
* Add docs for fine grained WSGI/ASGI control
2019-08-19 16:09:11 +01:00
Can Sarıgöl
21939fdaa8
Documented netrc support ( #225 )
2019-08-17 11:07:04 -05:00
Humberto Rocha
7156c36eb3
Add additional info to Contributing Guide ( #213 )
2019-08-14 21:37:44 -05:00
Humberto Rocha
079ab33c12
Create a Contributing page in the documentation ( #190 )
2019-08-06 16:52:54 -05:00
Stephen Brown II
44beaa1c8f
Make Origin use scheme, not is_ssl ( #168 )
2019-07-28 21:43:06 -05:00
Stephen Brown II
72e6f47897
Allow setting headers at the Client level ( #159 )
2019-07-28 20:39:35 -05:00
Tom Christie
17bb165042
Branding updates for httpx ( #130 )
2019-07-19 15:36:36 +01:00
Tom Christie
2d09d5b36c
Renaming -> httpx ( #129 )
...
* Renaming -> httpx
* Renaming to httpx
2019-07-19 15:15:16 +01:00
Tom Christie
bb8697011d
Support WSGI and ASGI apps. ( #94 )
...
* Add 'Client(app=...)' support
* Add ASGI support with Client(app=app)
* Improve exc cases when using client with ASGI
* Tighten up exception handling when using as a test client
* Fix up stream I/O for WSGI/ASGI apps
* Docs for WSGI/ASGI integration
2019-06-18 15:53:33 +01:00
Tom Christie
fdc4ab2a89
Tweak compat docs
2019-06-17 17:28:27 +01:00
Tom Christie
56a7943206
Int status codes ( #92 )
...
* Use plain int for response.status_code
* Linting
2019-06-17 16:53:39 +01:00
Tom Christie
d21e3ab2f0
Add multipart docs
2019-06-17 14:51:40 +01:00
Tom Christie
7c6fb5c6ca
Tweaks ( #89 )
...
* Close redirect responses
* History should not be reverse-order
* History should not be reverse-order
* Docs updates
2019-06-13 16:19:39 +01:00
Tom Christie
d5d726f66a
Add Cookies docs
2019-06-13 14:03:22 +01:00
Tom Christie
f296e6ded9
'For Python 3'
2019-06-12 16:25:48 +01:00
Tom Christie
60dca3da39
Docs tweaks
2019-06-12 16:06:09 +01:00
Tom Christie
c9747aa357
http3 ( #86 )
...
* Start fleshing out documentation
* Docs work
* http3
* Update docs
* Include lowercase status codes, for requests compat
* Updating docs
* Docs tweaks
2019-06-12 15:02:16 +01:00