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

Request body logging breaks custom routes #16

Open
sjamaan opened this issue Aug 30, 2016 · 5 comments
Open

Request body logging breaks custom routes #16

sjamaan opened this issue Aug 30, 2016 · 5 comments

Comments

@sjamaan
Copy link
Contributor

sjamaan commented Aug 30, 2016

In a custom route I read request.FILES['foo'], and I get django.http.request.RawPostDataException: You cannot access body after reading from request's data stream. Adding log_request_body = False works around the problem.

We should probably add a way to avoid logging request body for individual routes, but of course we should also figure out if this can be fixed in general.

@SpaceK33z
Copy link
Contributor

Do you also have this problem if you checkout the code from master? @mmoreaux possibly fixed this, but it isn't yet in v1.

@SpaceK33z
Copy link
Contributor

@sjamaan ^

@sjamaan
Copy link
Contributor Author

sjamaan commented Sep 15, 2016

Will need to verify

@sjamaan
Copy link
Contributor Author

sjamaan commented Oct 14, 2016

It is still an issue from what I can see

@abzainuddin
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants