Marcelo Trylesinski
199fc703f3
Add custom URL convertor register ( #1437 )
...
* Add register that allows custom URL convertors
* Add tests
* Simplify tests and refresh CONTENT_TYPES
* Add docs
* Simplify datetime import
* Ups
* Fix remove last dt
2022-01-28 17:48:22 +01:00
Mng
aa20cdad0d
Remove count of available convertors ( #1409 )
...
Co-authored-by: Micheal Gendy <micheal@sonono.ch>
2022-01-13 22:59:47 +01:00
Amin Alaee
bff81f83d0
Add WebSocketRoute docs in Routing ( #1388 )
2022-01-04 09:54:22 +01:00
Eugene Mayer
7c7ec5a7f7
Remove port from Host routing regex ( #1322 )
...
Co-authored-by: Amin Alaee <mohammadamin.alaee@gmail.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2021-11-25 15:11:25 +01:00
Eugene Mayer
d87c93eda4
add host-based routing docs ( #1313 )
...
Co-authored-by: Amin Alaee <mohammadamin.alaee@gmail.com>
2021-10-25 09:51:12 +02:00
Jeff Astor
c300bdc5b8
Friendly spell check in `routing.md` docs. ( #1073 )
...
Co-authored-by: Jamie Hewland <jhewland@gmail.com>
2020-10-15 11:23:52 +01:00
Jamie Hewland
9440fd7040
Add a UUID convertor ( #903 )
...
* Implement UUID path param converter
* Add the uuid convertor to the docs
2020-04-21 19:24:55 +01:00
Simon Willison
5110fc6d81
More detail on how to use convertors
...
It wasn't immediately clear to me how to use them.
2020-03-14 17:51:50 -07:00
Emil Stenström
06d0fc470a
Add space so example is copy-pastable ( #766 )
2019-12-21 21:49:27 +00:00
Tom Christie
24f73c5e0b
Update routing.md
2019-11-22 11:28:12 +00:00
Tom Christie
7f8cd04173
Version 0.13 ( #704 )
...
* Version 0.13
* Fix misnamed requirement
* Updating routing docs
* Update routing docs
* Update docs
* Simpler Middleware signature
* Update middleware docs
* Update exception docs
* Allow 'None' in middleware lists, for easy disabling of middleware.
* Update README
2019-11-13 12:25:18 +00:00
Taoufik
1db98c7c2f
tiny typo ( #397 )
2019-02-18 12:05:06 +00:00
Sebastián Ramírez
4af75d72a9
Add tests for fixed path handling and docs ( #280 )
...
* Add tests for fixed path handling and docs
* Mark as not covered route made to never match
* Simplify docs -> routing: example for /users/me
2018-12-18 12:33:32 +00:00
Tom Christie
8d973c25bd
Version 0.8.5
2018-11-16 14:04:08 +00:00
Tom Christie
8da0f00fe7
Routing interface ( #144 )
...
* Path -> Route, PathPrefix -> Mount
* Route, WebSocketRoute, Mount
* Use Route(endpoint=...), not Route(app=...)
* Bare minimum docs update
* Add url_for
* request.path_params and session.path_params
* Version 0.6.0
2018-10-29 09:22:45 +00: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
8245768f81
Use 405 for Method Not Allowed ( #53 )
2018-08-30 14:42:39 +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