Commit graph

11 commits

Author SHA1 Message Date
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