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
This is because Response has a default content type, and it's not worth inspecting the status and body on each response just in case its 204 with no body to remove the header. You can call del response.headers["content-type"] if you know you need to remove it.
When returning HTTP code
204
Flask will include aContent-Type
header which is superfluous as there is no content.Environment:
The text was updated successfully, but these errors were encountered: