Merge lp:~salgado/storm/fix-wsgi into lp:storm
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Approved by: | Sidnei da Silva |
Approved revision: | 449 |
Merged at revision: | 448 |
Proposed branch: | lp:~salgado/storm/fix-wsgi |
Merge into: | lp:storm |
Diff against target: |
122 lines (+40/-37) 2 files modified
storm/wsgi.py (+16/-9) tests/wsgi.py (+24/-28) |
To merge this branch: | bzr merge lp:~salgado/storm/fix-wsgi |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sidnei da Silva (community) | Approve | ||
Thomas Herve (community) | Approve | ||
Review via email: mp+108421@code.launchpad.net |
Description of the change
Fix wsgi.make_app() to not make assumptions about how to consume data from
whatever is returned by its inner app() call
We cannot use storm.wsgi.
IBodyProducer we return, thus defeating its purpose.
To post a comment you must log in.
Maybe I miss something, but returning a IBodyProducer is not WSGI? WSGI expects an iterable, and that's what's done here.