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
Werkzeug's defaults make it hard to return a 204 status code without returning a response with a content-type header. Webtest doesn't like that:
/home/rsyring/tmp/virtualenvs/miller/lib/python3.8/site-packages/webtest/lint.py:538: WSGIWarning: Content-Type header found in a 204 response, which not return content.
warnings.warn(("Content-Type header found in a %s response, "
It would be nice if we could from a view return:
returnNone, 204
And have that do the right thing.
The text was updated successfully, but these errors were encountered:
rsyring
transferred this issue from level12/keg-app-cookiecutter
Jun 9, 2021
Werkzeug's defaults make it hard to return a 204 status code without returning a response with a content-type header. Webtest doesn't like that:
It would be nice if we could from a view return:
And have that do the right thing.
The text was updated successfully, but these errors were encountered: