Displaying 2 results from an estimated 2 matches for "original_response".
2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
...rorDocuments middleware in your config/middleware.py file.
+
+ """
+
+ @expose('ovirtserver.templates.error')
+ def document(self, *args, **kwargs):
+ """Render the error document"""
+ resp = request.environ.get('pylons.original_response')
+ default_message = ("<p>We're sorry but we weren't able to process "
+ " this request.</p>")
+ values = dict(prefix=request.environ.get('SCRIPT_NAME', ''),
+ code=request.para...
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...rorDocuments middleware in your config/middleware.py file.
-
- """
-
- @expose('ovirtserver.templates.error')
- def document(self, *args, **kwargs):
- """Render the error document"""
- resp = request.environ.get('pylons.original_response')
- default_message = ("<p>We're sorry but we weren't able to process "
- " this request.</p>")
- values = dict(prefix=request.environ.get('SCRIPT_NAME', ''),
- code=request.para...