Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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
Replies are listed 'Best First'.
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 browsing the Monastery: (8)
As of 2015-07-08 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls