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
If a call is made to BaseHTTPRequestHandler.end_headers() but no headers or response have been queued, an exception is raised exposing implementation details.
Bug report
Bug description:
If a call is made to
BaseHTTPRequestHandler.end_headers()
but no headers or response have been queued, an exception is raised exposing implementation details.Actual result
Expected result:
flush_headers
has a guard to check if the buffer has been allocated which is missing fromend_headers
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: