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 14035,Cannot access POST after request.encoding was set to a custom value,Piotr Czachur,Piotr Czachur,"Issue happens for multipart/form-data and WSGi handler. {{{ #Django trunk r13353. class DetectEncodingMiddleware(object): def process_request(request): # Lets say we define data encoding in POST param called ""enc"" enc = request.POST['enc'] # request._load_post_and_files() request.encoding = enc # request._set_encoding(): del self._post request.POST # request._load_post_and_files() # raise AttributeError(""You cannot set the upload handlers after the upload has been processed.""); }}} This issue is related: #12522 ",Bug,assigned,HTTP handling,dev,Normal,,,net147,Accepted,0,0,0,0,0,0