Skip to content

Commit

Permalink
Split the Sans-IO parts out of the Response wrapper
Browse files Browse the repository at this point in the history
This might be clearer if you consider the names as `BaseResponse` and
`WSGIResponse` (although these names aren't possible for compatibility
reasons). The `SansIOResponse` contains all the information that is not
WSGI or IO dependent thereby allowing it to be used in ASGI projects,
notably Quart.
  • Loading branch information
pgjones committed Jan 20, 2021
1 parent d9dfc45 commit 8552488
Show file tree
Hide file tree
Showing 2 changed files with 667 additions and 622 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,9 @@ Released 2019-03-19
Any previously documented classes, understood to be the existing
public API, are still importable from ``werkzeug.wrappers``, or may
be imported from their specific modules. (:pr:`1456`)
- SansIO ``werkzeug.wrappers`` have been added to and contains all the
information that is not WSGI or IO dependent thereby allowing it
to be used in ASGI projects. (:pr:`2005`)


Version 0.14.1
Expand Down
Loading

0 comments on commit 8552488

Please sign in to comment.