• Hanno Schlichting's avatar
    Separate HTTP and WSGI response classes. · 665b64e3
    Hanno Schlichting authored
    Split a common base class out of them and move ZServer specific logic
    onto HTTPResponse without impacting WSGIResponse.
    
    Also change the error generating methods on WSGIResponse to raise
    exceptions rather than returning responses. It's the publishers job
    to turn them into responses and now they get treated in the same way
    as when they get raised directly.
    665b64e3
HTTPRequest.py 68.5 KB