It looks like you are sending an HTTP request. In an HTTP request, the header is separated by the body by a blank line. In the broken version, it starts with a blank line, and I'm betting the web server chokes (correctly) on that. The first line has to be the request line (that has the GET stuff in it).
LWP, or at least HTTP::Request can handle this for you.
In reply to Re: HTTP Header not working
by brian_d_foy
in thread HTTP Header not working
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |