-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHANGELOG.rst
More file actions
44 lines (35 loc) · 1.32 KB
/
Copy pathCHANGELOG.rst
File metadata and controls
44 lines (35 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Changelog
=========
Version 1.1
-----------
Added ``multipart_middleware``, ``url_encoded_middleware``,
``cors_middleware``
Version 1.2
-----------
- Added URL params (``/:id/:uuid`` for example)
- Added ``attachment`` and ``includeFilename`` in ``FileResponse``
- Added ``RedirectResponse`` and ``JSONPResponse``
- Changed ``RequestType`` to ``RequestMethod`` and made name changes as
such
- Added 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
-------------
- Fixed CORS middleware not working with preflight requests (OPTIONS requests)
- Fixed ``FileResponse`` not setting ``Content-Type`` header correctly
- Refactored and modularized server code for better readability
- Changed function prototype of middleware functions
- Added unit tests under ``tests/`` directory
- Added automatic OPTIONS handling
- Fixed JSONP repsonse not including semicolon
- Added ``ChunkStream`` for handling chunked requests
- Included parameter to set max header size in ``Server`` constructor
- Added better type hinting