Errors uploading images from ASIHTTPRequest in iPhone to Rails 3 application hosted on Heroku
We just went through a painful debug session related to erratic timeouts and "Bad content body" errors when we try to upload images from an iPhone application to Rails 3 application hosted on Heroku.
The iPhone application uses ASIHTTPRequest, checking the Google Groups we found that the issues are related to Persistent Connections, the solution that worked for us was:
[request setShouldAttemptPersistentConnection:NO];
53 Notes/ Hide
-
wonderingert liked this
-
leeannewzomicha liked this
-
consuelaowkcarl liked this
-
gabriellazdewil liked this
-
linhiudeal liked this
-
eufemiavshen liked this
-
candyghermosill liked this
-
raeannizhardy liked this
-
guadalupejpraga liked this
-
roycelgreenwell liked this
-
eddagdpenton liked this
-
mignonpwwdeer liked this
-
charmainesvmgoo liked this
-
tarynpcarhode liked this
-
glorianalucas liked this
-
blossomfwchance liked this
-
sheryllpjplourd liked this
-
lakishabyoungs liked this
-
fredrickajrmcla liked this
-
darlacebickley liked this
-
rimacesankey liked this
-
ilianajharriman liked this
-
geniawlyles liked this
-
slyviapwentwort liked this
-
selenabnice liked this
-
joaniexgknaught liked this
-
ashlynihoffman liked this
-
ameekvjnarvaez liked this
-
lorettecteixeir liked this
-
aleneusroka liked this
-
noellepnxfreed liked this
-
ramonitabmassie liked this
-
genevalydefores liked this
-
genniemqpraley liked this
-
britnirgzhatton liked this
-
manyxfix liked this
-
angelesorsimms liked this
-
palmanflleclair liked this
-
cruzcfrwelborn liked this
-
zelmaaafgriswol liked this
-
heojnhfsn liked this
-
ttgacdlda liked this
-
qqvfnfmkoo liked this
-
aigbzwiqpv liked this
-
ysifbapxny liked this
-
gtiblzsbe liked this
-
hfekybwsij liked this
-
howardtharp liked this
-
edgar posted this