Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: OT: How do you serve up XHTML?

by moritz (Cardinal)
on Sep 16, 2007 at 10:21 UTC ( [id://639237]=note: print w/replies, xml ) Need Help??


in reply to OT: How do you serve up XHTML?

My web apps usually produce xhtml 1.0 strict, and the content type in the header is determined by the client's Accept-header.

If the client has a higher q=-score for application/xhtml+xml then for text/html I send the application/xhtml+xml header.

If not, I regretfully fall back to text/html.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-20 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found