Ticket #6256: 6256.diff
File 6256.diff, 667 bytes (added by , 17 years ago) |
---|
-
home/kmt/django/trunk/django/http/__init__.py
103 103 from cgi import parse_header 104 104 raw_message = '\r\n'.join(['%s:%s' % pair for pair in header_dict.items()]) 105 105 raw_message += '\r\n\r\n' + post_data 106 msg = email.message_from_string(raw_message )106 msg = email.message_from_string(raw_message.replace('\r\n', '\n')) 107 107 POST = QueryDict('', mutable=True) 108 108 FILES = MultiValueDict() 109 109 for submessage in msg.get_payload():