#26499: AuthenticationMiddleware apparently accesses request.POST
---------------------------------+-------------------------------------
Reporter: ChristopherBrix | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 1.9
Severity: Normal | Keywords: middleware request.post
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-------------------------------------
The middleware `AuthenticationMiddleware` apparently accesses
`request.POST`, because if I include it I get the exception `You cannot
access body after reading from request's data stream` once I try to read
`request.body`.
I wasn't able to find the source code of `AuthenticationMiddleware`, but
if it indeed does so, this [https://code.djangoproject.com/ticket/16384
should be considered a bug].
I'm running Python 2 and the latest version of Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/26499>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/058.dacdc4f3a9e16bf1b4775f84ca0d826b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.