You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, setting resp.stream to a file-like object without a file descriptor (i.e., without a .fileno() method, such as a pure Python wrapper implementing .read()), fails in Meinheld with a TypeError.
I am of the opinion that Meinheld's behaviour is in direct violation of PEP 3333 on the matter, and filed this as a bug: mopemope/meinheld#130.
However, since Meinheld is one of the fastest ways to run Falcon, we probably need to decide whether we want to patch this on our side, document as a known limitation, or take another action (please suggest).
The text was updated successfully, but these errors were encountered:
we probably need to decide whether we want to patch this on our side, document as a known limitation, or take another action (please suggest).
Personally I think we could just document this case. As an alternative we could provide a different implementation but I think it would be better to make it configurable by the user and not activating it automatically when running under a wsgi server
Apparently, setting
resp.stream
to a file-like object without a file descriptor (i.e., without a.fileno()
method, such as a pure Python wrapper implementing.read()
), fails in Meinheld with aTypeError
.I am of the opinion that Meinheld's behaviour is in direct violation of PEP 3333 on the matter, and filed this as a bug: mopemope/meinheld#130.
However, since Meinheld is one of the fastest ways to run Falcon, we probably need to decide whether we want to patch this on our side, document as a known limitation, or take another action (please suggest).
The text was updated successfully, but these errors were encountered: