Commit graph

17 commits

Author SHA1 Message Date
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
41edff8ceb Added CommonHTTPStatus 2022-11-13 22:10:05 +00:00
michalpokusa
132d36c8ca Added passing HTTPResponse headers to file response 2022-11-13 14:56:46 +00:00
michalpokusa
e7f0dea179 Added missing typing 2022-11-13 14:52:34 +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
4b3e4f9866 Refactor of MIMEType 2022-11-13 13:19:02 +00:00
michalpokusa
e0a117fedf Removed blocking behavior of socket 2022-11-13 12:16:18 +00:00
michalpokusa
e06d0cd29c Small changes across files, comments, typing 2022-11-13 12:15:31 +00:00
michalpokusa
9b49df8733 Unified root to root_path across all files 2022-11-13 09:58:09 +00:00
michalpokusa
9a021bd9ba Refactor of HTTPResponse, addition of new attributes 2022-11-13 09:52:23 +00:00
michalpokusa
bb6ef752e0 Refactor in HTTPStatus 2022-11-12 23:37:48 +00:00
michalpokusa
c0ca616019 Moved previous functionality of _HTTPRequest to HTTPRoute, renamed routes to route_handlers 2022-11-12 21:40:55 +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
4101db8aee Added HTTPMethod enum 2022-11-12 20:59:54 +00:00
michalpokusa
6892a93535 Splitted adafruit_httpserver into separate files 2022-11-12 19:47:50 +00:00