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?? |
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.
In Section
Seekers of Perl Wisdom
|
|