firehat has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I'm trying to access content identified as follows from an LWP POST:
Much obliged!
I'm trying to access content identified as follows from an LWP POST:
Content-Type: application/force-download Content-Disposition: attachment; filename= Results.txt`$mess->content' returns nothing.
What's the proper way to access the `application/force-download' content?$mess = $ua->post('https://foobarbaz.com/servlet', Content_Type => 'form-data', Content => [ foo => 'a', bar => 'b', baz => 'c', attachment => [ undef, 'attachment', Content => $req ], ] );
Much obliged!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: HTTP::Message vs Content-Type: application/force-download
by ikegami (Patriarch) on Aug 12, 2009 at 15:04 UTC | |
Re: HTTP::Message vs Content-Type: application/force-download
by Anonymous Monk on Aug 06, 2009 at 21:28 UTC | |
by firehat (Initiate) on Aug 10, 2009 at 13:46 UTC | |
by Anonymous Monk on Aug 10, 2009 at 13:53 UTC | |
by firehat (Initiate) on Aug 10, 2009 at 14:19 UTC | |
by firehat (Initiate) on Aug 10, 2009 at 19:50 UTC |
Back to
Seekers of Perl Wisdom