﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27384	Accessing request.POST in Django middlewares 1.10.x make it empty for view	Matheus Ashton Silva	nobody	"Hello, 

I'm creating a middleware to log every request in my API, following the new specification on django 1.10.x.

When I access the request.POST attr it goes blank to the view

{{{
#!div style=""font-size: 80%""
Code highlighting:
  {{{#!python
    def log_request_middleware(get_response):
        logger = logging.getLogger('requests')

        def middleware(request):
            request_body = request.POST.copy().dict()
            response = get_response(request)
  }}}
}}}

The request.POST on the view now is blank, it happens even with a simple access a print or assignment.

It also happens with request.GET"	Bug	new	Uncategorized	1.10	Normal		middleware request.POST		Unreviewed	0	0	0	0	0	0
