Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Content-Length for HTTP Header.by clinton (Priest) |
on Aug 27, 2007 at 15:33 UTC ( [id://635320]=note: print w/replies, xml ) | Need Help?? |
I've never used Net::SSLeay, but the docs say that the Content-Length and Content-Type headers are added automatically by post_https(). So if I remove your Content-Length header, the above script gives me:
The Content-length: 239 that you were seeing is the length of THEIR response, not your request. I think that Content-Length isn't the problem here - the problem is that you're not providing authorization details perhaps? Clint
In Section
Seekers of Perl Wisdom
|
|