Skip to content

Refactor into separate files, additional features, addition of missing typing #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6892a93
Splitted adafruit_httpserver into separate files
michalpokusa Nov 12, 2022
4101db8
Added HTTPMethod enum
michalpokusa Nov 12, 2022
450ee79
Refactor of _HTTPRequest
michalpokusa Nov 12, 2022
c0ca616
Moved previous functionality of _HTTPRequest to HTTPRoute, renamed ro…
michalpokusa Nov 12, 2022
bb6ef75
Refactor in HTTPStatus
michalpokusa Nov 12, 2022
9a021bd
Refactor of HTTPResponse, addition of new attributes
michalpokusa Nov 13, 2022
9b49df8
Unified root to root_path across all files
michalpokusa Nov 13, 2022
e06d0cd
Small changes across files, comments, typing
michalpokusa Nov 13, 2022
e0a117f
Removed blocking behavior of socket
michalpokusa Nov 13, 2022
4b3e4f9
Refactor of MIMEType
michalpokusa Nov 13, 2022
6c5e201
Small refactor of HTTPRequest, added ability to process body bytes th…
michalpokusa Nov 13, 2022
bc46b67
Fixed: Support for query params without value
michalpokusa Nov 13, 2022
e7f0dea
Added missing typing
michalpokusa Nov 13, 2022
132d36c
Added passing HTTPResponse headers to file response
michalpokusa Nov 13, 2022
41edff8
Added CommonHTTPStatus
michalpokusa Nov 13, 2022
21e20b6
Preparing code for docs generation, black formatting, updating examples
michalpokusa Nov 13, 2022
6585d3f
Resolving rest of pylint and black errors
michalpokusa Nov 13, 2022
0fe7bd7
Fix: Wrong typing and return type in HTTPResponse._construct_response…
michalpokusa Nov 18, 2022
eaea81d
Added HTTPServer.socket_timeout
michalpokusa Nov 19, 2022
85d1c3c
Changed how incoming data is received
michalpokusa Nov 19, 2022
4a1a3a1
Added option to pass status to HTTPResponse as tuple, overwrited eq m…
michalpokusa Nov 19, 2022
0480546
Changed default socket_timeout and made it possible to be a positive …
michalpokusa Nov 20, 2022
4a4cdfd
Removed body attribute and added as property
michalpokusa Nov 22, 2022
0d69a4c
Fix: First header was skipped and headers were case-sensitive
michalpokusa Nov 22, 2022
469f0eb
Implemented processing 'Content-Length' header and limiting received …
michalpokusa Nov 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
391 changes: 0 additions & 391 deletions adafruit_httpserver.py

This file was deleted.

Loading