in reply to Re^2: HTTP::Message vs Content-Type: application/force-download
in thread HTTP::Message vs Content-Type: application/force-download

It has to output a bit more than that
$ua->add_handler("request_send", sub { shift->dump; return }); $ua->add_handler("response_done", sub { shift->dump; return });

Replies are listed 'Best First'.
Re^4: HTTP::Message vs Content-Type: application/force-download
by firehat (Initiate) on Aug 10, 2009 at 14:19 UTC
    What additional data should I note from this? The only content related header returned remains `Content-Language: en-US'.
      My problem apparently was that I didn't specify the `Content_Type', i.e.
      file => [ undef, $filename, Content => $content ]
      should have been
      file => [ undef, $filename, Content_Type => $type, Content => $content ]