Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Woytek committed Mar 30, 2022
1 parent b2d9443 commit ffa15e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flask_restful/reqparse.py
Expand Up @@ -122,6 +122,8 @@ def source(self, request):
else:
values = MultiDict()
for l in self.location:
if not request.is_json and l == 'json':
continue
value = getattr(request, l, None)
if callable(value):
value = value()
Expand Down

0 comments on commit ffa15e8

Please sign in to comment.