Add a modify_request hook
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 23 Jun 2014 03:21:42 +0000 (22:21 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 23 Jun 2014 03:22:16 +0000 (22:22 -0500)
mediagoblin/app.py

index e65e6d1044958f992591e2411056fb14697c1dd8..6923e198109ec7b32212ed3f63ed38884ace6c4d 100644 (file)
@@ -233,6 +233,8 @@ class MediaGoblinApp(object):
                 request, e,
                 e.get_description(environ))(environ, start_response)
 
+        request = hook_transform("modify_request", request)
+
         request.start_response = start_response
 
         # get the Http response from the controller