Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution for #12 - display raw_post_data #55

Closed
wants to merge 2 commits into from

Conversation

schinckel
Copy link

Not sure if both of the changes are needed or not.

Still more work needed here, to make it work with both django <=1.2 and >=1.3, where non-DEBUG
installations reject static serving of files. There is a new contrib.staticfiles app, but
only one method will work at a time.
@dcramer
Copy link
Member

dcramer commented Dec 23, 2010

Taking me a while to get to this one, will hopefully give it a good look this weekend ot make sure its not going to affect anything else :)

@dcramer
Copy link
Member

dcramer commented Apr 5, 2011

To quote the original ticket (since you cant seem to edit issues):

"I use django to develop APIs, that often have a JSON payload. This will not be parsed correctly by django and turned into request.POST, but that is not important right now.

What is important is that this data is available in request.raw_post_data: and it is important in the case of a crash to know what this content is.

I suggest that sentry should display this when a request is passed in."

@dcramer
Copy link
Member

dcramer commented Apr 25, 2011

I will be adding support in 1.7 for raw post data. Assuming request.POST isnt valid, and request.raw_post_data is set, it will show up under the POST variables.

@dcramer dcramer closed this Apr 25, 2011
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants