• 's avatar
    Added an "abort" flag to RESPONSE.exception, so that the method can be · 9d2429a0
    authored
    called without necessarily aborting the current transaction. This is
    required by things like the resolve_url machinery, where there is a
    need to call the exception() method to get a meaningful error. The
    resolve_url method in HTTPRequest.Request has been changed to take
    advantage of this. The existing semantics of RESPONSE.exception()
    are unchanged - it will automatically abort just as it did before
    unless you pass the keyword arg abort=0 when calling the method.
    9d2429a0
HTTPRequest.py 35.8 KB