• deuce's avatar
    As with CGI, if a script specifies a Content-Length or Transfer-Encoding · 7d8781ee
    deuce authored
    header, don't calculate either one and let the script shoot itself in the
    Also, if a Location header is set, try an internal redirect rather than
    forcing the client to handle it.
    Now scripts can avoid chunked mode by specifying a correct content-length
    if the content-length is wrong though, Bad Things will happen.