move to httpretty fork instead of bundling it.

This commit is contained in:
Steve Pulec 2013-03-17 18:13:21 -04:00
commit cd518d060e
7 changed files with 36 additions and 33 deletions

View file

@ -102,7 +102,7 @@ class convert_flask_to_httpretty_response(object):
body = request.data or query
headers = dict(request.headers)
result = self.callback(uri, body, headers)
result = self.callback(uri, method, body, headers)
if isinstance(result, basestring):
# result is just the response
return result