Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Print out an XML file to browser

by dorward (Curate)
on Feb 20, 2007 at 11:50 UTC ( #601075=note: print w/replies, xml ) Need Help??


in reply to Re: Print out an XML file to browser
in thread Print out an XML file to browser

You need a real HTTP header, http-equiv is:

  • only applicable to HTML documents
  • can't specify content-type in a way that anything other than Russian Apache will care about

The CGI.pm docs explain how to create standard http headers.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://601075]
help
Chatterbox?
NodeReaper adjusts the cross hairs

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-09-24 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (274 votes). Check out past polls.

    Notices?