socketry / multipart-post

Adds multipart POST capability to net/http
MIT License
293 stars 72 forks source link

EOFError (bad content body) with special characters (maybe only on ruby 1.9.2) #7

Closed lou closed 12 years ago

lou commented 13 years ago

when I submit a query with a file and with another params which contains special characters (ie: éèîü etc ..) it breaks.

EOFError (bad content body)

I don't know if it's the right way to fix it but it works !

Note: tested only on ruby 1.9.2

drbrain commented 12 years ago

14 is likely a better fix for this problem

nicksieger commented 12 years ago

We'll probably need to do some charset/encoding changes in the future. But for now, #14 does indeed fix this slightly better.