Re: please add HTTP_ACCEPT = application/xhtml+xml,text/html

--- Nick Kew <nick@webthing.com> wrote:
> On Wed, 23 Apr 2003, java java wrote:
> 
> > I have php code in my web-page that serves up the
> > xhtml as application/xhtml+xml with type of
> XHTML1.1
> 
> PHP for content negotation seems to be overkill. 
> Not to mention
> reinventing the wheel.

  OK, but how do I deliver an
    XHTML 1.0 Strict document with 
      Content-Type = text/html
  To UA that do not accept application/xhtml+xml
  And
    XHTML 1.1 document with
      Content-Type = application/xhtml+xml
  To UA that can accept application/xhtml+xml

   Internet Explorer is the major problem since it
does not accept application/xhtml+xml so must be sent
text/html .


> 
> -- 
> Nick Kew
> 
> In need of paying work -
> http://www.webthing.com/~nick/cv.html
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Received on Sunday, 27 April 2003 14:26:57 UTC