Commit graph

17 commits

Author SHA1 Message Date
michalpokusa
8ee162d5ac Changed Route class to public 2023-07-12 20:57:33 +00:00
michalpokusa
f95781a050 Rewrite of Response logic from context managers to returns, added some new types of response 2023-05-08 09:01:12 +00:00
michalpokusa
a424d27098 Added ... and .... wildcards 2023-05-03 13:53:30 +00:00
michalpokusa
33d6b25c5e Refactor of _Route and _Routes, added append_slash 2023-05-03 09:25:06 +00:00
michalpokusa
85254e5b92 Changes to docstrings 2023-04-27 20:40:23 +00:00
michalpokusa
18d4a537b1 Changed positional url parameters to keyword 2023-04-26 23:51:43 +00:00
michalpokusa
ee67bdbbb2 _Route now respects "/" suffix of path 2023-04-26 23:51:43 +00:00
michalpokusa
d4a8a8dc3f Removed HTTP... prefix from class names 2023-04-25 21:27:10 +00:00
Neradoc
f9cf90f2d2 Allow no route to be defined for only serving static files 2023-04-13 17:34:39 +02:00
michalpokusa
d5817b0abd Refactor for removing the need for saving last match group 2023-04-01 18:36:55 +00:00
michalpokusa
994a7e87c0 Minor changes to repr of _HTTPRoute and _HTTPRoutes 2023-03-20 04:12:02 +00:00
michalpokusa
813c53296b Optimization, reduced number of re.match calls per request 2023-03-20 04:05:14 +00:00
michalpokusa
e2a4761eef Made variable name and docstring more verbose 2023-03-20 03:49:23 +00:00
michalpokusa
8e2967b293 Changed how routes are mapped to handler functions, added _HTTPRoutes
Added option to provide regex-like URLs using <> brackets
2023-03-19 15:02:36 +00:00
michalpokusa
6585d3f709 Resolving rest of pylint and black errors 2022-11-14 00:34:05 +00:00
michalpokusa
21e20b6041 Preparing code for docs generation, black formatting, updating examples 2022-11-13 23:26:25 +00:00
michalpokusa
c0ca616019 Moved previous functionality of _HTTPRequest to HTTPRoute, renamed routes to route_handlers 2022-11-12 21:40:55 +00:00