in reply to SOLVED: HTTP-POST with IO::Socket -- Header problem
in thread HTTP-POST with IO::Socket -- Header problem
I think it is because you send one too many linefeeds in your @head and @data:
"Content-Type: application/octet-stream", "", "", # this one is too much
Perosonally, I wonder what's wrong with using LWP::UserAgent resp. HTTP::Request::Common or WWW::Mechanize to automate a web form.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SOLVED: HTTP-POST with IO::Socket -- Header problem
by Anonymous Monk on Jun 23, 2011 at 09:58 UTC | |
by Corion (Patriarch) on Jun 23, 2011 at 10:13 UTC |