Merge pull request #429 from rsyed83/doc_update

doc(middleware): Fix middleware interface in quickstart
This commit is contained in:
Kurt Griffiths
2015-02-04 17:16:25 -06:00

View File

@@ -186,7 +186,7 @@ parameters, handling errors, and working with request and response bodies.
'JSON was incorrect or not encoded as '
'UTF-8.')
def process_response(self, req, resp):
def process_response(self, req, resp, resource):
if 'result' not in req.context:
return