Thursday, September 30, 2010

iPhone posting FILEs = "Invalid content length"

Hey there,
I've got a new error I'm totally stumped on. All searches are saying
it's a "http vs https" or similar.
I'd be keen to hear your thoughts.

Basically I've got an iPhone app sending a POST to a django app, it
contains one FILE.
Every now and then (very sporadically, about 1 in 5) one fails and I
get the below message.

<tr>
<th>Exception Type:</th>
<td>MultiPartParserError</td>
</tr>
<tr>
<th>Exception Value:</th>
<td><pre>Invalid content length: 0<pre></td>
</tr>
<tr>
<th>Exception Location:</th>
<td>/home/72999/data/python/django/django/http/multipartparser.py in
_init_, line 80</td>
</tr>

Any ideas?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment