Releases: belyalov/tinyweb
Releases · belyalov/tinyweb
Release 1.1
Mostly bugfixes, including but not limited to
Features
- Keyword arguments into REST handler:
add_resource(self, cls, url, **kwargs)
. Refer to #10 - Added
content_encoding
tosend_file()
parse_headers
parameter replaced withsave_headers
dict to make it less memory consuming. Refer to #13- Switch from
os
touos
to remove unneeded dependency. - Add optional response message:
def redirect(self, location, msg=None)
Fixes
- Run garbage collection before / after REST handler
- Couple of travis-ci bugfixes
Release 1.0
First stable release of tinyweb
.
Supported and tested devices:
- ESP8266
- ESP32
Beta2 release v1.0
Bugfixes
Content-Length
in autoOPTIONS
methodadd_resource()
- now accepts either - class or class instanceAccess-Control-Allow-Methods
use comma instead of whitespace- Proper handle of
Broken Pipe
error
Improvements
- Added simple way to do HTTP redirects:
response.redirect()
- Include simple error message into HTTP errors (like
404
,500
, etc) - More documentation and unittests :)
Beta release v1.0
Release 1.0-beta
First working version of tinyweb.
What's included?
- core functionality (webserver, request, response classes) / unittests
- static content support
- RestAPI support for HTTP form types:
- urlencoded
- json
What's missed?
- HTTP/1.1 - currently, there is no any justification to use it on microcontrollers. Maybe in the future.
- HTTP Authorization
Known issues / limitations
- HTML form are supported in no so efficient way, probably there is a big room for improvements.
- Not tested on
ESP32
device, however,ESP8266
works fine, but requires frozen bytecode due to RAM limitation.