You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
In a custom route I read
request.FILES['foo']
, and I getdjango.http.request.RawPostDataException: You cannot access body after reading from request's data stream
. Addinglog_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.
The text was updated successfully, but these errors were encountered: