Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: CSV or HTML? (now OT)

by tobyink (Abbot)
on Jan 20, 2012 at 08:52 UTC ( #948911=note: print w/ replies, xml ) Need Help??


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


Comment on Re^6: CSV or HTML? (now OT)
Select or Download Code
Re^7: CSV or HTML? (now OT)
by Tux (Monsignor) on Jan 20, 2012 at 12:40 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-09-18 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls