Skip to content

Commit

Permalink
the correct property should be 'url'
Browse files Browse the repository at this point in the history
  • Loading branch information
mission-liao committed Dec 25, 2016
1 parent 6c5b190 commit 251a1d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyswagger/contrib/client/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def request(self, req_and_resp, opt={}):
data = req.data if req._p['body'] else req._p['formData']

r = self.__client.open(
path=req.path,
path=req.url,
query_string=req.query,
method=req.method.upper(),
headers=req.header.items(),
Expand Down
2 changes: 1 addition & 1 deletion pyswagger/contrib/client/webapp2.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def request(self, req_and_resp, opt={}):

# initiate an request every time
_req = webapp2.Request.blank(
req.path,
req.url,
headers=req.header.items(),
POST=req.data,
**self.__kw
Expand Down

0 comments on commit 251a1d1

Please sign in to comment.