Note that this 'expect' is fairly soft
 

> -----Original Message-----
> From: Bjoern Hoehrmann [mailto:derhoe...@gmx.net] 
> Sent: 21 April 2009 23:42
> To: Aaron Naiman
> Cc: libwww@perl.org
> Subject: Re: 'POST' method leads to "411 Length Required"
> 
> * Aaron Naiman wrote:
> >$request = new HTTP::Request 'POST', 'http://www.google.com';
> >
> >$response = $ua->request($request);
> 
> You are using POST but are not posting any data, and 
> apparently the server ...
> 
> >An Error Occurred 411 Length Required
> 
> ... expects you to post some data when using POST.
> --
> Björn Höhrmann · mailto:bjo...@hoehrmann.de · 
> http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: 
> +49(0)160/4415681 · http://www.bjoernsworld.de
> 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · 
> http://www.websitedev.de/ 
> 

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        

Reply via email to