[Chicago-talk] WWW::Mechanize can't recognize a html file with no file extention.
andy at petdance.com
Mon Mar 6 22:02:46 PST 2006
> It would be nice if the ct method could take an argument that lets you
> set the content type. Or even better if you could change the
> default to
> whatever you want. I once had to use WWW::Mechanize against a strange
> web server that refused to define 'Content-Type' and it was a real
Hey, while poking, I realized you could do this:
$mech->update_html( $mech->content );
It'll set your content type.
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
More information about the Chicago-talk