Commit Graph

10 Commits

Author SHA1 Message Date
Tom Christie b3ad311bbc
Template component (#398)
* Add Jinja2Templates component

* Fix imports

* Prevent code formatters from moving deliberatly late import
2019-02-18 13:28:18 +00:00
Tom Christie d5c798e6b8
Example ASGI apps now ensure scope['type'] is expected message type. (#348) 2019-01-25 14:40:33 +00:00
Tom Christie 4745fb1aef
Add TemplateResponse. (#269)
* Add TemplateResponse. Expose .template and .context info to test client.

* Only send 'http.response.template' if the extension is include

* Add TemplateResponse to documentation
2018-12-13 15:16:25 +00:00
Raja Simon 25244b5c98 Fix file path argument (#255) 2018-12-07 12:45:36 +00:00
Alexander Botello 4dedf7ce96 Add documentation for cookies (#116)
* Add cookies to request docs

* Add cookies to response docs

* Reformat the postion of methods
2018-10-17 11:15:32 +01:00
Tom Christie 09ce2c373a Version 0.4.0 2018-10-10 17:12:58 +01:00
Jordan Eremieff f4fe0ec312 Name changes (#55)
* Rename View -> HTTPEndpoint

* Rename views doc file -> endpoints

* Rename request/response files -> requests/responses, update imports, update docs

* Rename WebSocketSession -> WebSocket, rename session -> websocket in docs

* Full module imports in tests and source, removing imports from __init__ file

* Fix name in testclient doc
2018-09-05 10:29:04 +01:00
Tom Christie 2002eb1bd2 Drop licence footer from page content 2018-08-29 11:31:08 +01:00
Tom Christie 352ccda556 Update docs 2018-08-29 11:17:09 +01:00
Jeff Buttars bb6a8fb7c9 Initial conversion of README.md to mkdocs 2018-08-28 07:58:03 -06:00