Re: iPhone posting FILEs = "Invalid content length"

2010-10-17 Thread Eric Chamberlain
It did in our case. What configuration are you running? We are running lighttpd and fastcgi. On Oct 15, 2010, at 6:33 PM, Mike Krieger wrote: > Hey Eric! > > We're using ASI & Django and seeing the same thing. > > Was setting shouldAttemptPersistentConnection enough to make the > problem go a

Re: iPhone posting FILEs = "Invalid content length"

2010-10-15 Thread Mike Krieger
Hey Eric! We're using ASI & Django and seeing the same thing. Was setting shouldAttemptPersistentConnection enough to make the problem go away? About 1/50 of our requests fail with this bug. Thanks! Mike On Oct 7, 11:21 am, Eric Chamberlain wrote: > We ran into the same error with ASIHTTPReque

Re: iPhone posting FILEs = "Invalid content length"

2010-10-07 Thread Eric Chamberlain
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 tho

Re: iPhone posting FILEs = "Invalid content length"

2010-09-30 Thread Carlton Gibson
On 30 Sep 2010, at 11:55, Danny Bos wrote: > 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. > Exception Value: > Invalid content length: 0 > Any ideas? This

iPhone posting FILEs = "Invalid content length"

2010-09-30 Thread Danny Bos
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 fai