Re: post request with content length 0

2007-04-25 Thread Philippe Bruhat (BooK)
Le mercredi 25 avril 2007 à 10:54, Ulrich Wisser écrivait: Hi, I have a small script trying to login into a website. Of course they use forms and cookies for that. Unfortunately does my code not work. If tried many approaches but without success. One thing I recognized is, that

[PATCH] LWP::UserAgent add support for URI with embedded userinfo

2010-03-23 Thread Philippe Bruhat (BooK)
Signed-off-by: Philippe Bruhat (BooK) b...@cpan.org --- lib/LWP/UserAgent.pm |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/LWP/UserAgent.pm b/lib/LWP/UserAgent.pm index a54782c..7757126 100644 --- a/lib/LWP/UserAgent.pm +++ b/lib/LWP/UserAgent.pm @@ -572,6 +572,7

Re: CONNECT through proxy

2010-03-23 Thread Philippe Bruhat (BooK)
with a working socket, without the proxy, I get 500 SLL negociation failed. CONNECT is meant to be used only with proxy servers. For LWP::UserAgent to support direct HTTPS connections, you need to install Crypt::SSLeay and directly create a GET request to the https:// URL. -- Philippe Bruhat

Re: [PATCH] LWP::UserAgent add support for URI with embedded userinfo

2010-03-24 Thread Philippe Bruhat (BooK)
On Tue, Mar 23, 2010 at 09:15:47PM +0100, Gisle Aas wrote: On Tue, Mar 23, 2010 at 10:43, Philippe Bruhat (BooK) b...@cpan.org wrote: ---  lib/LWP/UserAgent.pm |    1 +  1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/LWP/UserAgent.pm b/lib/LWP/UserAgent.pm index

Re: [PATCH] LWP::UserAgent add support for URI with embedded userinfo

2010-03-24 Thread Philippe Bruhat (BooK)
On Wed, Mar 24, 2010 at 09:37:09AM +0100, Philippe Bruhat (BooK) wrote: Apparently I was completely mistaken, since further testing with Mechanize this morning shows that indeed it will already work with such URLs. I may have been mislead by the fact the URL I was trying to reach was also

[PATCH] fix syntax error in SYNOPSIS

2010-08-01 Thread Philippe Bruhat (BooK)
--- lib/HTTP/Cookies.pm |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/HTTP/Cookies.pm b/lib/HTTP/Cookies.pm index b37bf9d..eac910a 100644 --- a/lib/HTTP/Cookies.pm +++ b/lib/HTTP/Cookies.pm @@ -610,7 +610,7 @@ HTTP::Cookies - HTTP cookie jars use