michalpokusa
|
5da48c20aa
|
Added Token authentication method
|
2023-08-28 19:01:00 +00:00 |
|
michalpokusa
|
60a472e6cd
|
Added option to construct Headers from str and refactor of parsing request header part
|
2023-08-28 12:29:54 +00:00 |
|
michalpokusa
|
6031bece2c
|
Added Headers.get_directive() and Headers.get_parameter()
@to get_parameter
|
2023-08-28 12:29:31 +00:00 |
|
michalpokusa
|
d743d1c6f3
|
Minor docstring, typing and encoding fixes
temp
to docs
|
2023-08-27 18:06:35 +00:00 |
|
michalpokusa
|
4ef72f1fd8
|
Refactor of Redirect response class to allow 301 and 302 codes
|
2023-08-27 02:26:29 +00:00 |
|
michalpokusa
|
503522c6e4
|
Added tuple to possible data types of route(methods=...)
|
2023-08-27 01:56:47 +00:00 |
|
foamyguy
|
be65668ab4
|
Merge pull request #64 from FoamyGuy/xss_hardening
XSS hardening
|
2023-08-22 17:44:36 -05:00 |
|
michalpokusa
|
5e57a6496a
|
Fix: Wrong method in example and .json() for non-POST requests
|
2023-07-31 16:26:41 +00:00 |
|
foamyguy
|
be5c8d1dfc
|
code format
|
2023-07-31 09:10:39 -05:00 |
|
foamyguy
|
a55bfe933d
|
move debug def, rename arg to safe, rename encoding def, use more descriptive encoded value.
|
2023-07-31 09:10:12 -05:00 |
|
michalpokusa
|
4063b5a39b
|
Updated Copyright headers
|
2023-07-30 20:09:30 +00:00 |
|
foamyguy
|
96a6d0e570
|
fix docstrings
|
2023-07-30 11:14:28 -05:00 |
|
foamyguy
|
7753ec0f54
|
pylint fixes
|
2023-07-30 11:12:24 -05:00 |
|
foamyguy
|
48dca56069
|
initial hardening
|
2023-07-30 11:06:37 -05:00 |
|
michalpokusa
|
d3890130ee
|
Modified as_route docstring to be more verbose
|
2023-07-21 08:39:20 +00:00 |
|
michalpokusa
|
978a0c9509
|
Minor change in as_route docstring
|
2023-07-21 00:02:13 +00:00 |
|
michalpokusa
|
9dfaf80288
|
Merge remote-tracking branch 'origin/main' into external-routes-websockets-sse
|
2023-07-18 18:41:40 +00:00 |
|
michalpokusa
|
5c30a2a31b
|
Added as_route decorator as shorthand for creating Route objects
|
2023-07-16 18:44:58 +00:00 |
|
michalpokusa
|
e34d27dcbb
|
Fix: Wrong returns in docstring
|
2023-07-13 11:47:27 +00:00 |
|
michalpokusa
|
d372f8e216
|
CI fixes, reformating etc.
|
2023-07-13 10:25:38 +00:00 |
|
michalpokusa
|
1e1ad58d17
|
Added Websocket class and SWITCHING_PROTOCOLS_101
|
2023-07-13 09:29:27 +00:00 |
|
michalpokusa
|
28ae6e5c27
|
Added SSEResponse class
|
2023-07-13 08:51:48 +00:00 |
|
michalpokusa
|
90085c301b
|
Minor tweaks in _send_headers
|
2023-07-13 07:47:12 +00:00 |
|
michalpokusa
|
8fa70b69d0
|
Preparing for returning persistent connection responses
|
2023-07-13 07:38:25 +00:00 |
|
michalpokusa
|
802d7fd9db
|
Added Server.add_routes for importing external routes
|
2023-07-13 07:26:03 +00:00 |
|
michalpokusa
|
e6a0b02e9c
|
Minor refactor of passing URL parameters to handler
|
2023-07-13 06:54:34 +00:00 |
|
michalpokusa
|
8ee162d5ac
|
Changed Route class to public
|
2023-07-12 20:57:33 +00:00 |
|
michalpokusa
|
8e2d543334
|
Replaced Server.poll() return with str
|
2023-07-06 20:03:15 +00:00 |
|
michalpokusa
|
cc75a5a091
|
Fix: Setting Server.stopped to True in constructor
|
2023-07-04 23:39:50 +00:00 |
|
michalpokusa
|
e3c83b4276
|
Added returns to Server.pool()
|
2023-07-04 19:21:58 +00:00 |
|
michalpokusa
|
5aea936e58
|
Updated docstrings in Request
|
2023-06-30 10:43:48 +00:00 |
|
michalpokusa
|
a74ae99f7e
|
Added QueryParams and interface for both storage classes
|
2023-06-10 13:10:40 +00:00 |
|
michalpokusa
|
6a60edc575
|
Added FormData class
|
2023-06-10 12:34:18 +00:00 |
|
michalpokusa
|
a56a507374
|
Changes to some Server docstrings
|
2023-06-08 23:26:43 +00:00 |
|
michalpokusa
|
f62899ca71
|
Added Server.headers and updated docs for it
|
2023-05-27 09:00:54 +00:00 |
|
michalpokusa
|
06dcf7abe2
|
Updated docstrings of authentication related functions
|
2023-05-26 01:17:23 +00:00 |
|
michalpokusa
|
537874f717
|
Skipping empty chunks of data in ChunkedResponse
|
2023-05-25 19:32:28 +00:00 |
|
michalpokusa
|
4ad7995386
|
Added warning about exposing files and some docstrings
|
2023-05-22 15:24:27 +00:00 |
|
michalpokusa
|
85b452b95b
|
Fix: Incorrect parsing of default route methods
|
2023-05-22 14:52:01 +00:00 |
|
michalpokusa
|
90ce5368b4
|
Minor refactor of sending response, modified guard
|
2023-05-08 22:41: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
|
e3529d6e37
|
Moved debugging exception to .poll()
|
2023-05-07 21:37:00 +00:00 |
|
michalpokusa
|
c299f9fdc9
|
Corrected typing in Response.send
|
2023-05-06 15:26:44 +00:00 |
|
michalpokusa
|
55be729bfa
|
Fix: Incorrectly changing from list to set using brackets
|
2023-05-05 22:03:18 +00:00 |
|
michalpokusa
|
3359668c08
|
Imported missing exception in module init, updated authors
|
2023-05-04 00:05:12 +00:00 |
|
michalpokusa
|
a424d27098
|
Added ... and .... wildcards
|
2023-05-03 13:53:30 +00:00 |
|
michalpokusa
|
191e91c928
|
Changed format of debug logs, added Response.size, fix in send_chunk
|
2023-05-03 09:25:06 +00:00 |
|
michalpokusa
|
33d6b25c5e
|
Refactor of _Route and _Routes, added append_slash
|
2023-05-03 09:25:06 +00:00 |
|
michalpokusa
|
a5be235a96
|
Added stopping server on Ctrl-C and debug message on stop
|
2023-05-01 00:47:00 +00:00 |
|
michalpokusa
|
dbdbacd7f4
|
Added Server.debug for verbose messages during development
|
2023-04-30 23:26:49 +00:00 |
|