Changelog¶
Version 1.1¶
Added multipart_middleware
, url_encoded_middleware
,
cors_middleware
Version 1.2¶
Added URL params (
/:id/:uuid
for example)Added
attachment
andincludeFilename
inFileResponse
Added
RedirectResponse
andJSONPResponse
Changed
RequestType
toRequestMethod
and made name changes as suchAdded error handling for rogue malformed requests
Added documentation
Version 1.2.1¶
Fixed a bug where /
would not work
Version 1.2.2¶
Fixed a bug completely breaking the server
(Replaced None.startswith with
"".startswith
for default Content-Type
and passed empty params and cookies to the
Request
constructor)Version 1.2.3
Refactored and modularized server code for better readability
Changed function prototype of middleware functions
Added unit tests under
tests/
directoryAdded automatic OPTIONS handling
Fixed JSONP repsonse not including semicolon
Added
ChunkStream
for handling chunked requestsIncluded parameter to set max header size in
Server
constructorAdded better type hinting