Opened 13 years ago

Last modified 13 years ago

#17259 closed Bug

error in http post data parser — at Initial Version

Reported by: bayazee@… Owned by: nobody
Component: HTTP handling Version:
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Traceback (most recent call last):

File "/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py", line 95, in get_response

response = middleware_method(request, callback, callback_args, callback_kwargs)

File "/usr/local/lib/python2.6/site-packages/django/middleware/csrf.py", line 164, in process_view

request_csrf_token = request.POST.get('csrfmiddlewaretoken', "")

File "/usr/local/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 171, in _get_post

self._load_post_and_files()

File "/usr/local/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 137, in _load_post_and_files

self._post, self._files = self.parse_file_upload(self.META, self.environwsgi.input)

File "/usr/local/lib/python2.6/site-packages/django/http/init.py", line 123, in parse_file_upload

parser = MultiPartParser(META, post_data, self.upload_handlers, self.encoding)

File "/usr/local/lib/python2.6/site-packages/django/http/multipartparser.py", line 80, in init

raise MultiPartParserError("Invalid content length: %r" % content_length)

MultiPartParserError: Invalid content length: 0

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top