Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 41763
Status: rejected
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: development [...] km.mydyn.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Content from HTTPS-pages is not readible
Date: Tue, 16 Dec 2008 19:40:58 +0100
To: bug-libwww-perl [...] rt.cpan.org
From: Development <development [...] km.mydyn.de>
Hi, we are working on a new tool for ebay-pages. For that we use WWW::Mechanize; and of course LWP::UserAgent Here is a snippet of the debug: LWP::UserAgent::send_request: GET http://pages.ebay.com/messages/DE_page_not_responding.html?eBayErrorEventName=p4plaijkoiwi%3C%3Dpo%2Bq0vo%60mlh765-2008.12.16.11.13.55.852.MST LWP::UserAgent::_need_proxy: Not proxied LWP::Protocol::http::request: () LWP::Protocol::collect: read 732 bytes LWP::Protocol::collect: read 958 bytes LWP::UserAgent::request: Simple response: OK The page is fetched in the code with $content = $ua->get($url)->content(); But the content that is coming back is completely cryptic and i think it is ssl-encrypted ? Content looks like: Õ\ÝrÛ8²¾>©wÀ0'c»ÊúµdÇräÿÆÞ±cËq6ÙÚRA$$1& JV²©ÚÙ:5s³/0s3Wñn¤HêÇrìÌÎq%?F£ÑøºðÅ·ûg{oÏH_º9½{r¼GB©ôfm¯TÚ¿Ü'G§'¤V,WÈ¥ ^`KÔ)^ÄèKé7J¥ápX®¹è./JHªVr8XѱýS¶¿yò¢Ï¨ßß ´ÈÕZ¸Á »9}QÒe^¦°}IêõBÚcMãOt@[*QÿæÉáßböl¾¾<,<F á@ÇV´ìwìiÂÒÛ>bâc2´ç».ó âCWÔe¤Isø­0_+%MtaâH;¸ìÛÁë =´=7)M±/Xw+i¢&& ÉÄòJÄèÇèÝ%ËDr?¡E¾m9ÝqB\M×u >¦kój²å1+[º(üE_"Bú;Çö®QÓ Fetching pages without HTTP are coming normal. The code is working without problem in ActiveState Perl 5.8.8 mit libwww-perl-5.805 ! Regards Karsten
I would assume this just because the content comes back gziped. Using the decoded_content() method to read it should take care of reversing that encoding.