From: Richard Conroy Date: 2007-10-23T23:05:33+09:00 Subject: Re: How to send a file from the http client to the server? Abir, are you using a HTTP client library? Or are you using something more basic like raw net/http or open-uri ? You could cheat and use something a bit more high level like Hpricot. Or are you using something non-Ruby like curl, and need to know exactly how you pad out the HTTP Header?