Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 13356
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: dnelson [...] cso.com
Cc:
AdminCc:

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



From: dnelson [...] cso.com
Subject: Please Help - How can I retrieve a pdf document from a web page?
To: bug-WWW-Mechanize [...] rt.cpan.org
Date: Tue, 21 Jun 2005 16:56:53 -0500
Download (untitled) / with headers
text/plain 178b
Please can someone let me know how to retrieve a pdf document from a webpage? $agent->{content} returns the last "real" html page. How do I get the pdf document? Thanks, Doug
From: dnelson [...] cso.com
Subject: Re: [cpan #13356] AutoReply: Please Help - How can I retrieve a pdf document from a web page?
To: bug-WWW-Mechanize [...] rt.cpan.org
Date: Mon, 27 Jun 2005 07:49:14 -0500
RT-Send-Cc:
Download (untitled) / with headers
text/plain 2.5k
This is resolved. We finally figured out that we needed to use the ignore_discard option in the cookie_jar and save the cookies to disk. $agent->cookie_jar( HTTP::Cookies->new( 'file' => $cookiefile, # where to read/write cookies 'autosave' => 1, # save it to disk when done c # save even cookies that are requested to be discarded )); It would have saved a lot of time if this were mentioned somewhere within the documentation of the mechanize cpan page. Thanks, Doug "WWW-Mechanize" <bug-WWW-Mechaniz e@rt.cpan.org> To dnelson@cso.com 06/21/2005 04:57 cc PM Subject [cpan #13356] AutoReply: Please Please respond to Help - How can I retrieve a pdf bug-WWW-Mechanize document from a web page? @rt.cpan.org Greetings, This message has been automatically generated in response to your bug report about WWW-Mechanize, a summary of which appears below. There is no need to reply to this message right now. Your bug in WWW-Mechanize has been assigned an ID of [cpan #13356]. Please include the string: [cpan #13356] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-WWW-Mechanize@rt.cpan.org ------------------------------------------------------------------------- Please can someone let me know how to retrieve a pdf document from a webpage? $agent->{content} returns the last "real" html page. How do I get the pdf document? Thanks, Doug
Download (untitled) / with headers
text/plain 370b
[dnelson@cso.com - Mon Jun 27 08:49:28 2005]: Show quoted text
>> It would have saved a lot of time if this were mentioned somewhere >> within the documentation of the mechanize cpan page.
That would be great. Please send along a patch to the docs that explain the problem and why. I don't understand it myself from what you said, so you're the best to write it up. Thanks, Andy


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.