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
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
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
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
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
---
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