Ticket #4498: file_upload.patch
File file_upload.patch, 652 bytes (added by , 17 years ago) |
---|
-
django/http/__init__.py
67 67 FILES.appendlist(name_dict['name'], { 68 68 'filename': filename, 69 69 'content-type': 'Content-Type' in submessage and submessage['Content-Type'] or None, 70 'content': submessage.get_payload( ),70 'content': submessage.get_payload(decode=True), 71 71 }) 72 72 else: 73 73 POST.appendlist(name_dict['name'], submessage.get_payload())