Commit graph

20 commits

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