<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>5330</bug_id>
          
          <creation_ts>2007-12-25 21:09:22 +0000</creation_ts>
          <short_desc>http request header does not specify &quot;application/xhtml+xml&quot; in Accept</short_desc>
          <delta_ts>2007-12-25 23:32:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Website</component>
          <version>HEAD</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>785</dup_id>
          
          <bug_file_loc>http://www.breauxbridge.net</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Lunsford">michaellunsford</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18147</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Lunsford">michaellunsford</who>
    <bug_when>2007-12-25 21:09:22 +0000</bug_when>
    <thetext>the online validator warns: Conflict between Mime Type and Document Type 
The document is being served with the text/html Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml


However, the validator fails to inform the server that it supports application/xhtml+xml as part of the request header. So, the server issues the text/html header instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18148</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-12-25 23:32:59 +0000</bug_when>
    <thetext>please look at Bug 785. Basically:
* a user agent like the validator does not need to send an accept header
* with the current spec, it&apos;s wrong to send xhtml1.1 as text/html (why not use xhtml 1.0?)
* you should fix your accept hack to server application/xhtml+xml by default, and send text/html only to agents that send an accept not containing this media type
* if for testing purposes you need the validator to send accept headers, see 
   http://validator.w3.org/docs/users.html#option-accept


*** This bug has been marked as a duplicate of bug 785 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>