Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert: fix bug in request HTTP XML (HRX)

  • Loading branch information...
commit 1f844ea80d3f125c21496c64f3d8059371397922 1 parent 6bc416f
Nycholas de Oliveira e Oliveira nycholas authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 flask_jsonrpc/helpers.py
6 flask_jsonrpc/helpers.py
View
@@ -22,11 +22,7 @@ def extract_raw_data_request(request):
if request.method == 'GET':
return request.query_string
elif request.method == 'POST':
- # True if the request was triggered via a JavaScript
- # XMLHttpRequest
- if request.is_xhr:
- return json.dumps(request.form.to_dict())
- elif request.data:
+ if request.data:
return request.data
elif request.form.to_dict():
return request.form.to_dict().keys()[0]
Please sign in to comment.
Something went wrong with that request. Please try again.