Commit Graph

16 Commits

Author SHA1 Message Date
Didip Kerabat c85c13d229 Applying linter. 2019-06-17 05:56:29 -07:00
Didip Kerabat 0d6bf72a6d More tests and yet it is still 99%. 2019-06-16 09:18:38 -07:00
Didip Kerabat 5f5d0188af Added more tests on State object. 2019-06-16 08:38:48 -07:00
Didip Kerabat 81b0089ab6 Begin work in making sure `request.state` is preserved between middlewares. 2019-06-15 17:22:50 -07:00
Tom Christie 4d5708e468
ASGI 3 (#435)
* TestClient supports ASGI2 and ASGI3

* Starlette instances present ASGI3 interface

* ServerErrorMiddleware presents ASGI3 interface

* Use ASGI3 protocol throughout

* Response signatures match ASGI interface.
2019-03-19 16:03:19 +00:00
Tom Christie 82c610559c
Request state (#404)
* Add Mount(routes=...)

* Lifespan route instance

* Lifespan as a standard routing component

* Linting

* Linting

* Version 0.10.6

* Release notes

* Version 0.11.0

* Drop redundant import

* Drop redundant database requirements

* Include htmlcov in scripts/clean

* Drop redundant import

* Release notes

* Linting

* Add request.state
2019-02-19 13:14:53 +00:00
Tom Christie 10b61f6cc2
Multi item form data (#339)
* Add a multidict FormData structure
2019-01-22 19:47:47 +00:00
Tom Christie c220994eb1
Add `request.is_disconnected()` (#320)
* Add request.is_disconnected()

* Add request.is_disconnected
2019-01-15 09:59:59 +00:00
Tom Christie a2613494a4
Add request.client (#272)
* Add request.client

* Docs for request.client
2018-12-14 09:58:27 +00:00
Shen Li 80369c1b85 add tests for chunked requests (#235) 2018-11-23 08:56:37 +00:00
Tom Christie 98fa5598de Tweak test case 2018-11-16 13:52:05 +00:00
supriyo-biswas 1e4ce58ec7 Fix incorrect decoding of application/x-www-form-urlencoded request body (#217)
* Fix incorrect decoding of application/x-www-form-urlencoded request body.

* Add test for URLencoded forms.
2018-11-16 13:51:14 +00:00
Tom Christie bcf876c686
Use isort for consistent import ordering (#156) 2018-10-29 14:46:42 +00:00
Jordan Eremieff d1ba5d6722 Cookies (#86)
* Initial cookies support for response/request classes

* Type hint

* Drop .get_cookie() from request class
2018-10-06 13:08:16 +01:00
Tom Christie 94044e5991
Tweaks to URL datastructure (#81)
* Tweaks to URL datastructure

* Linting
2018-10-05 11:29:06 +01:00
Tom Christie 78d1829758
Version 0.3 (#57)
* Renamings

* Version 0.3.0

* Black formatting

* Update docs for 0.3
2018-09-05 11:39:38 +01:00