On 23 Jan 2009, at 08:18, TKAB wrote:
> > Thank you very much, I was completely unaware of that. > So it would be a better idea to imitate a form upload and set the > Content-Type to multipart/form-data? Certainly an option > Or is there any other way? > You could replace + signs with what ever the correct % escape sequence is, but the multipart/form-data route is probably simpler. Fred > >> The standards dictate that with application/x-www-form-urlencoded >> data (the >> default;http://www.w3.org/TR/html401/interact/forms.html#h-17.13.3.3) >> spaces are encoded by + signs, so the server is doing the correct >> thing by turning them into spaces. >> >> Fred > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

