Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f7efcc3f8 | ||
|
|
0f278321c8 | ||
|
|
acf20cc20c |
@@ -1,5 +1,9 @@
|
||||
# Microdot change log
|
||||
|
||||
**Release 0.8.2** - 2022-04-20
|
||||
|
||||
- Remove debugging print statement [#38](https://github.com/miguelgrinberg/microdot/issues/38) ([commit](https://github.com/miguelgrinberg/microdot/commit/0f278321c8bd65c5cb67425eb837e6581cbb0054)) (thanks **Mark Blakeney**!)
|
||||
|
||||
**Release 0.8.1** - 2022-03-18
|
||||
|
||||
- Optimizations for request streams and bodies ([commit](https://github.com/miguelgrinberg/microdot/commit/29a9f6f46c737aa0fd452766c23bd83008594ac4))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = microdot
|
||||
version = 0.8.1
|
||||
version = 0.8.2
|
||||
author = Miguel Grinberg
|
||||
author_email = miguel.grinberg@gmail.com
|
||||
description = The impossibly small web framework for MicroPython
|
||||
|
||||
@@ -79,7 +79,6 @@ class Request(BaseRequest):
|
||||
|
||||
# body
|
||||
body = b''
|
||||
print(Request.max_body_length)
|
||||
if content_length and content_length <= Request.max_body_length:
|
||||
body = await client_stream.readexactly(content_length)
|
||||
stream = None
|
||||
|
||||
Reference in New Issue
Block a user