Davit Tovmasyan
2f2a4e4ef0
Document the files parameter on .post(), .patch(), and .put() ( #409 ) ( #414 )
2019-10-03 19:47:19 -05:00
Jt Miclat
6752f7d6f6
Remove data, json and files parameters in delete() function ( #408 )
2019-09-28 12:18:40 -05:00
Tyrel Souza
5dc646fb9f
Adding params to Client ( #372 )
2019-09-23 09:22:21 -05: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
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
toppk
9e420a5c34
Automatically convert Client.cookies and Client.headers on set ( #274 )
2019-08-27 19:25:30 -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
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
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
56a7943206
Int status codes ( #92 )
...
* Use plain int for response.status_code
* Linting
2019-06-17 16:53:39 +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