http://www.perlmonks.org?node_id=948911


in reply to Re^5: CSV or HTML? (now OT)
in thread CSV or HTML?

I included "Mozilla" in my list, and intended for that to cover Firefox and any other browser derived from the Mozilla codebase. Certainly any version of Firefox will do - even versions from back when it was called "Phoenix".

Check your HTTP headers:

perl -MLWP::UserAgent -e'print LWP::UserAgent->new->get("http://localh +ost/xhtml_test.xhtml")->headers->as_string'

I'm guessing you'll see Content-Type: text/html. As I said, my example is XHTML, and assumes that the page is served with the correct XHTML media type Content-Type: application/xhtml+xml. Adding a <meta> tag to the document will not make any difference.

http://buzzword.org.uk/2012/xhtml_test

Replies are listed 'Best First'.
Re^7: CSV or HTML? (now OT)
by Tux (Canon) on Jan 20, 2012 at 12:40 UTC