Re: Access to x509 certificate using LWP?

2013-03-01 Thread Sebastien Koechlin
It's not the most beautiful thing in the world, but you can get access to the certificate data in the SSL_verify_callback. It gets called for each certificate in the chain, starting from the root cert. Here's a basic example: use strict; use warnings; use LWP::UserAgent; my

Trying to diagnose a LWP on FreeBSD (8.x) issue

2013-03-01 Thread Philip Kizer
I tried mailing the maintainer but no response there has led me to a bit more public forum. Using any perl 5.8 (since I really don't have older except for one system about to be upgraded, they're mostly 5.12 for me right now) and LWP 6.04, I see the following behaviour that can be tested as

Re: Trying to diagnose a LWP on FreeBSD (8.x) issue

2013-03-01 Thread Victor Efimov
Same behaviour, truncated output on Ubuntu 10.04 Perl 5.10 LWP 6.04 2013/3/2 Philip Kizer pcki...@nostrum.com: I tried mailing the maintainer but no response there has led me to a bit more public forum. Using any perl 5.8 (since I really don't have older except for one system about to be

Re: Trying to diagnose a LWP on FreeBSD (8.x) issue

2013-03-01 Thread Philip Kizer
2013/3/2 Philip Kizer pcki...@nostrum.com: I tried mailing the maintainer but no response there has led me to a bit more public forum. And just to be explicit, the maintainer I mailed was the FreeBSD LWP port maintainer, the lack of response is why I'm branching out to this list now. On

Re: Trying to diagnose a LWP on FreeBSD (8.x) issue

2013-03-01 Thread Victor Efimov
More info: GET -e -H 'User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)' http://www.gocomics.com/doonesbury/2013/01/27/ ... X-Died: Illegal field name 'X-Meta-Twitter:card' at /usr/local/lib/perl/5.10.1/HTML/HeadParser.pm line 207. however I don't see this header when trying with

Re: Trying to diagnose a LWP on FreeBSD (8.x) issue

2013-03-01 Thread Victor Efimov
seems known bug https://github.com/libwww-perl/http-message/issues/3 2013/3/2 Victor Efimov vic...@vsespb.ru: More info: GET -e -H 'User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)' http://www.gocomics.com/doonesbury/2013/01/27/ ... X-Died: Illegal field name

Re: Trying to diagnose a LWP on FreeBSD (8.x) issue

2013-03-01 Thread Philip Kizer
On 2013, Mar 01, at 16:39, Victor Efimov vic...@vsespb.ru wrote: seems known bug https://github.com/libwww-perl/http-message/issues/3 Bingo, my Google-fu was weak, thanks for the pointer. -p