Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web: do not send content on HTTPError(204) #3361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 14, 2024

  1. web: do not send content on HTTPError(204)

    Change `write_error()` to not send body if
     status code in (204, 304) or (100 <= status code < 200)
     - refactored into `RequestHandler._should_not_send_content(status_code)`
    
    Fixes tornadoweb#3360
    pawciobiel committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    e33d592 View commit details
    Browse the repository at this point in the history