michalpokusa
|
4ec5f9a3e6
|
Added cookies handling and example for it
|
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
|
60a472e6cd
|
Added option to construct Headers from str and refactor of parsing request header part
|
2023-08-28 12:29:54 +00:00 |
|
michalpokusa
|
d743d1c6f3
|
Minor docstring, typing and encoding fixes
temp
to docs
|
2023-08-27 18:06:35 +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
|
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
|
e5f506b9ba
|
Added Request.json()
|
2023-04-30 20:13:42 +00:00 |
|
michalpokusa
|
15b00cb1ba
|
Added server parameter to Request
|
2023-04-28 11:06:27 +00:00 |
|
michalpokusa
|
85254e5b92
|
Changes to docstrings
|
2023-04-27 20:40:23 +00:00 |
|
michalpokusa
|
d4a8a8dc3f
|
Removed HTTP... prefix from class names
|
2023-04-25 21:27:10 +00:00 |
|
michalpokusa
|
0fff602370
|
Replaced public header_body_bytes by private methods
|
2023-04-24 15:11:48 +00:00 |
|
michalpokusa
|
030390a252
|
Fix: Prevent creating empty query param
|
2023-03-19 15:49:21 +00:00 |
|
michalpokusa
|
c609a821d5
|
Changed address to client_address to match CPython's http.server module naming
|
2023-01-02 17:22:53 +00:00 |
|
michalpokusa
|
00d3247825
|
Refactor for unifying the HTTPResponse API
|
2022-12-23 11:55:57 +00:00 |
|
michalpokusa
|
be20bb12e7
|
Black format changes
|
2022-12-19 21:15:05 +00:00 |
|
michalpokusa
|
d547c7fa39
|
Fixed and extended docstrings
|
2022-12-19 20:24:31 +00:00 |
|
michalpokusa
|
f1878b3ace
|
Replacing dict with HTTPHeaders in other modules
|
2022-12-19 20:24:31 +00:00 |
|
michalpokusa
|
0d69a4c101
|
Fix: First header was skipped and headers were case-sensitive
|
2022-11-22 04:25:52 +00:00 |
|
michalpokusa
|
4a4cdfdbcd
|
Removed body attribute and added as property
|
2022-11-22 02:22:05 +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
|
bc46b67e81
|
Fixed: Support for query params without value
|
2022-11-13 14:18:07 +00:00 |
|
michalpokusa
|
6c5e201420
|
Small refactor of HTTPRequest, added ability to process body bytes that are not utf-8 decodable
|
2022-11-13 14:03:49 +00:00 |
|
michalpokusa
|
e06d0cd29c
|
Small changes across files, comments, typing
|
2022-11-13 12:15:31 +00:00 |
|
michalpokusa
|
450ee79bd7
|
Refactor of _HTTPRequest
Changed name and added new attributes to HTTPRequest like method, path, query_params, http_version, headers and body
|
2022-11-12 21:23:20 +00:00 |
|
michalpokusa
|
6892a93535
|
Splitted adafruit_httpserver into separate files
|
2022-11-12 19:47:50 +00:00 |
|