Hello. iPhone use NSURLRequest, NSURLConnection to POST data to rails site. Request is the next: POST / HTTP/1.1 User-Agent: CFNetwork/330 Content-Type: multipart/form-data; boundary=------580a9a040b19fc6621c596d9c40097f7 Accept: */* Accept-Language: ru Accept-Encoding: gzip, deflate Content-Length: 295 Connection: keep-alive Host: 192.168.0.20:8888
--------580a9a040b19fc6621c596d9c40097f7 Content-Disposition: form-data; name="authenticity_token" 86a4347fae09e23cf592eed6eb324cd61f3b9e5f --------580a9a040b19fc6621c596d9c40097f7 Content-Disposition: form-data; name="picures[pic]" 111 --------580a9a040b19fc6621c596d9c40097f7-- There too mane \r\n after Host:192.168.0.20:8888, therefore rails return "Bad content body". Could somebody fix this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
