• Jason Madden's avatar
    Allow subclasses of WSGIHandler to deal with invalid HTTP requests. · 0e0099a2
    Jason Madden authored
    Brought up on IRC.
    
    This involves having read_request raise ValueError subclasses instead of directly logging errors and returning False. This method could already raise ValueError when parsing headers, so callers are prepared for this. It shouldn't be a performance issue because (1) the try block was already being established and (2) these are exceptional situations, not the common case.
    0e0099a2
To find the state of this project's repository at the time of any of these versions, check out the tags.
changelog.rst 78.9 KB