michalpokusa
|
00faa249c5
|
Added query params to debug message after sending response
|
2023-11-06 14:16:14 +00:00 |
|
michalpokusa
|
af880fc357
|
Added File.content_bytes
|
2023-09-02 16:58:07 +00:00 |
|
michalpokusa
|
ccef0a8ba4
|
Minor change in docstring
|
2023-09-02 16:45:06 +00:00 |
|
michalpokusa
|
d051ef5345
|
Made Request.json() available for PUT, PATCH and DELETE requests
|
2023-09-01 23:07:46 +00:00 |
|
michalpokusa
|
eff94fa9e5
|
Fix typing in Server.route
|
2023-09-01 22:41:31 +00:00 |
|
michalpokusa
|
d1f8fdaa8e
|
Pylint CI fix
|
2023-09-01 06:55:13 +00:00 |
|
michalpokusa
|
d2e9c58362
|
Improvements in FormData parsing and Content-Type determining
|
2023-09-01 06:45:59 +00:00 |
|
michalpokusa
|
f2773cd182
|
Fix #68: Incorrect parsing of x-www-from-urlencoded in some cases
|
2023-09-01 06:41:36 +00:00 |
|
michalpokusa
|
4ec080ec21
|
Fix #69: 'None' instead of None in FormData.get()
|
2023-09-01 05:59:10 +00:00 |
|
michalpokusa
|
dc7bec0106
|
Added pool_interval parameter to Server.serve_forever
|
2023-08-31 21:21:21 +00:00 |
|
michalpokusa
|
8c16b279df
|
Added info abotu adding cookies using Set-Cookie headers
|
2023-08-29 17:14:20 +00:00 |
|
michalpokusa
|
e671f8ea5a
|
Added elapsed time to _debug_response_sent
|
2023-08-28 19:14:17 +00:00 |
|
michalpokusa
|
4ec5f9a3e6
|
Added cookies handling and example for it
|
2023-08-28 19:01:16 +00:00 |
|
michalpokusa
|
46c22bfc79
|
Refactor of Headers, implemented _IFieldStorage interface
|
2023-08-28 19:01:16 +00:00 |
|
michalpokusa
|
9a790395de
|
Refactor of QueryParams and FormData, moved interfaces to separate file
|
2023-08-28 19:01:09 +00:00 |
|
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 |
|