Skip to content

Commit

Permalink
Merge pull request #83 from MindscapeHQ/sh/fix-missing-raw-data
Browse files Browse the repository at this point in the history
Add rawData to the build_wsgi_compliant_request function

- Add request rawData to Python 2+3 to functions in http utilities
  • Loading branch information
Samuel Holt authored Mar 28, 2019
2 parents 2b89731 + 970fb5a commit c734ef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python2/raygun4py/http_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def build_wsgi_compliant_request(request):
'queryString': (request.get('queryString') or request.get('QUERY_STRING')),
'headers': {}, # see below
'form': http_form,
'rawData': {}
'rawData': request.get('rawData')
}
except Exception:
pass
Expand Down
2 changes: 1 addition & 1 deletion python3/raygun4py/http_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def build_wsgi_compliant_request(request):
'queryString': (request.get('queryString') or request.get('QUERY_STRING')),
'headers': {}, # see below
'form': http_form,
'rawData': {}
'rawData': request.get('rawData')
}
except Exception:
pass
Expand Down

0 comments on commit c734ef6

Please sign in to comment.