in reply to HTTP-POST with IO::Socket -- Header problem

The important part of the error message seems to be:
Request header field is missing ':' separator
I suggest using wireshark to ensure you're posting what you think you are.

Since upload speed is your main concern, I also suggest checking out Furl and the various interfaces to Curl.

Replies are listed 'Best First'.
Re^2: HTTP-POST with IO::Socket -- Header problem
by onelesd (Pilgrim) on Jun 22, 2011 at 00:16 UTC
    Wireshark, or just print to STDERR what you are printing to SOCK. Upon first glance it appears you did not add a blank line (\r\n) in between the headers and the data portion, so the server sees the data and thinks it's a header.