move to httpretty fork instead of bundling it.
This commit is contained in:
parent
5bec85c6c0
commit
cd518d060e
7 changed files with 36 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue