We ran into the same error with ASIHTTPRequest, our fix was to turn off 
persistent connections.

On Sep 30, 2010, at 3:55 AM, Danny Bos wrote:

> 
> 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-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

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

Reply via email to