<?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>784</bug_id>
          
          <creation_ts>2004-06-02 14:20:52 +0000</creation_ts>
          <short_desc>validator not sending out reasonable Accept header?</short_desc>
          <delta_ts>2004-06-02 20:36:34 +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>check</component>
          <version>0.7.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>18</dup_id>
          
          <bug_file_loc>http://giftfile.org/</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="John Belmonte">john</reporter>
          <assigned_to name="Terje Bless">link</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>1994</commentid>
    <comment_count>0</comment_count>
    <who name="John Belmonte">john</who>
    <bug_when>2004-06-02 14:20:52 +0000</bug_when>
    <thetext>The validator fails on &lt;http://giftfile.org/&gt;, saying it doesn&apos;t know how to 
process an xml+rss file.  This site has both an index.html file and an 
index.rss file, but to my knowledge content negotiation is disabled for 
the .rss file (due to IE issues).  In any case, the validator should probably 
be putting some weight on text/html and application/xhtml+xml MIME types via 
the Accept header, as if it were an HTML browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1995</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2004-06-02 14:28:01 +0000</bug_when>
    <thetext>% netc giftfile.org 80
HEAD / HTTP/1.0
Host: giftfile.org

HTTP/1.1 200 OK
Date: Wed, 02 Jun 2004 18:25:25 GMT
Server: Apache/2.0
Content-Location: index.rss
Vary: negotiate,accept
TCN: choice
Last-Modified: Sat, 29 May 2004 00:21:37 GMT
ETag: &quot;5c138-cb9-35084640&quot;
Accept-Ranges: bytes
Content-Length: 3257
Connection: close
Content-Type: application/rss+xml

Or see http://cgi.w3.org/cgi-bin/headers?url=http%3A%2F%2Fgiftfile.org

*** This bug has been marked as a duplicate of 18 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998</commentid>
    <comment_count>2</comment_count>
    <who name="John Belmonte">john</who>
    <bug_when>2004-06-02 14:53:04 +0000</bug_when>
    <thetext>&gt; *** This bug has been marked as a duplicate of 18 *** 
 
I saw that bug, but don&apos;t agree it is a duplicate.  I don&apos;t want to select a 
custom Accept header, I want validator to do the right thing by default, which 
is to request a resource as if it were an HTML browser, and put proper weight 
on HTML types. 
 
By the way, I have disabled content negotiation for the directory index at the 
example URL given, so it will no longer exhibit the problem. 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000</commentid>
    <comment_count>3</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2004-06-02 16:36:34 +0000</bug_when>
    <thetext>I believe &quot;doing the right thing by default&quot; will be implemented as a side
effect of resolving bug 18, as the validator does not send any Accept header
nowadays.  Perhaps this and bug 785 are not strictly duplicates of bug 18, but
very much related anyway; maybe a blocker should be set instead.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>