Opened 8 years ago

Last modified 8 years ago

#26499 closed Bug

AuthenticationMiddleware apparently accesses request.POST — at Initial Version

Reported by: Christopher Brix Owned by: nobody
Component: contrib.auth Version: 1.9
Severity: Normal Keywords: middleware request.post
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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 should be considered a bug.

I'm running Python 2 and the latest version of Django.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top