-
Committer:
James Westby
-
Date:
2013-08-26 20:30:40 UTC
-
mfrom:
(17.1.3 start-end-request)
-
Revision ID:
james.westby@canonical.com-20130826203040-kmjfhif48m2fxr7w
Add signals for the start of the wsgi request and start of the response.
The django signal for request-finished fires when the client has consumed
the response. However, when generating an oops it can be done before this
meaning that the timeline doesn't have a reference for an end point.
This defines a response-started signal that fires when start_response
is called in the wsgi stack, making it more likely that there will be
an end point in the timeline.