﻿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
192	FileUploads with builtin HTTPServer and  wsgi-handler won't works	mordaha@…	Adrian Holovaty	"{{{
utils/httpwrappers.py, Line 40:
-------------------------
    msg = email.message_from_string(raw_message) # ***
    POST = datastructures.MultiValueDict()
    FILES = datastructures.MultiValueDict()
    for submessage in msg.get_payload():
        if isinstance(submessage, email.Message.Message): # ****
-------------------------
}}}
Description:
  msg.is_multipart() at (***) marker is always False (coz raw_message haven't content-type header, look at core/handlers/wsgi.py, Line 31), so  msg.get_payload() at (****) is always a String, not email.Message !
"	defect	new	Core (Other)	1.1	major		file upload		Unreviewed	0	0	0	0	0	0
