mirror of
https://github.com/django/django.git
synced 2025-07-04 01:39:20 +00:00
unicode: Fixed a docstring from [5373].
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c6694dcdee
commit
7bb9a8e3ae
@ -63,7 +63,7 @@ class HttpRequest(object):
|
|||||||
encoding = property(_get_encoding, _set_encoding)
|
encoding = property(_get_encoding, _set_encoding)
|
||||||
|
|
||||||
def parse_file_upload(header_dict, post_data):
|
def parse_file_upload(header_dict, post_data):
|
||||||
"Returns a tuple of (POST MultiValueDict, FILES MultiValueDict)"
|
"Returns a tuple of (POST QueryDict, FILES MultiValueDict)"
|
||||||
import email, email.Message
|
import email, email.Message
|
||||||
from cgi import parse_header
|
from cgi import parse_header
|
||||||
raw_message = '\r\n'.join(['%s:%s' % pair for pair in header_dict.items()])
|
raw_message = '\r\n'.join(['%s:%s' % pair for pair in header_dict.items()])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user