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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12296</bug_id>
          
          <creation_ts>2007-01-16 15:03:24 -0800</creation_ts>
          <short_desc>Proposed new Accept HTTP header</short_desc>
          <delta_ts>2012-11-05 08:31:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Nicholas Shanks">nickshanks</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34565</commentid>
    <comment_count>0</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2007-01-16 15:03:24 -0800</bug_when>
    <thetext>I would like people to comment on the attached diff. I think it would be beneficial to add image/svg+xml as a requested image type, to remove the generic XML types (they are still matched by */*), and to make HTML preferred over XHTML (since HTML is better tested).
If a content provider has both HTML and XHTML versions, and they are not equivalent, they can set a qs (source quality) value to boost the XHTML version in negotiation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34566</commentid>
    <comment_count>1</comment_count>
      <attachid>12495</attachid>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2007-01-16 15:04:01 -0800</bug_when>
    <thetext>Created attachment 12495
new accept header</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34567</commentid>
    <comment_count>2</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2007-01-16 15:07:57 -0800</bug_when>
    <thetext>Oh, and I removed text/plain too, because that&apos;s the apache default for formats it&apos;s never heard of, like .backup and .temp, and having it override common things like image/jpeg is bad IMHO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34577</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-01-16 18:23:33 -0800</bug_when>
    <thetext>It would be interesting to know what other browsers (Firefox, Opera and MSIE) send.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34549</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-01-16 20:54:15 -0800</bug_when>
    <thetext>(In reply to comment #3)

The current string was copied from Firefox verbatim, bug 9572.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34523</commentid>
    <comment_count>5</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2007-01-17 02:46:55 -0800</bug_when>
    <thetext>The current string is sent by FF for it&apos;s mainResource, but for &lt;img&gt; sources it sends only &quot;image/png,*/*;q=0.5&quot; and for stylesheets &quot;text/css,*/*;q=0.1&quot;.

Opera 9 sends &quot;text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1&quot;  for every request.

IE sends &quot;*/*&quot; for normal requests, and &quot;image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*&quot; for images.

Most feed readers (desktop &amp; web-based) don&apos;t send any Accept string. AppleSyndication sends &quot;*/*&quot;.

The Google and Yahoo search bots send &quot;*/*&quot;

The MSN bot sends &quot;text/html, text/plain, text/xml, application/*, Model/vnd.dwf, drawing/x-dwf&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34507</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-01-17 04:10:02 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; The current string is sent by FF for it&apos;s mainResource, but for &lt;img&gt; sources
&gt; it sends only &quot;image/png,*/*;q=0.5&quot; and for stylesheets &quot;text/css,*/*;q=0.1&quot;.

Does WebKit send the same string for the main resource and subresources? I believe that would be a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34513</commentid>
    <comment_count>7</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2007-01-17 05:52:49 -0800</bug_when>
    <thetext>WebKit sends &quot;*/*&quot; for all non-mainResource requests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758559</commentid>
    <comment_count>8</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2012-11-05 08:31:00 -0800</bug_when>
    <thetext>This bug has been fixed in r80776 (bug 27267) and I am content with the patch that was applied.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>12495</attachid>
            <date>2007-01-16 15:04:01 -0800</date>
            <delta_ts>2010-06-10 14:31:08 -0700</delta_ts>
            <desc>new accept header</desc>
            <filename>frame-loader.diff</filename>
            <type>text/plain</type>
            <size>729</size>
            <attacher name="Nicholas Shanks">nickshanks</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvbG9hZGVyL0ZyYW1lTG9hZGVyLmNwcAo9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJD
b3JlL2xvYWRlci9GcmFtZUxvYWRlci5jcHAJKHJldmlzaW9uIDE4ODg4KQorKysgV2ViQ29yZS9s
b2FkZXIvRnJhbWVMb2FkZXIuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0yOTEzLDcgKzI5MTMsMTEg
QEAKICAgICB9CiAgICAgCiAgICAgaWYgKG1haW5SZXNvdXJjZSkKLSAgICAgICAgcmVxdWVzdC5z
ZXRIVFRQQWNjZXB0KCJ0ZXh0L3htbCxhcHBsaWNhdGlvbi94bWwsYXBwbGljYXRpb24veGh0bWwr
eG1sLHRleHQvaHRtbDtxPTAuOSx0ZXh0L3BsYWluO3E9MC44LGltYWdlL3BuZywqLyo7cT0wLjUi
KTsKKyNpZmRlZiBTVkdfU1VQUE9SVAorICAgICAgICByZXF1ZXN0LnNldEhUVFBBY2NlcHQoInRl
eHQvaHRtbCxhcHBsaWNhdGlvbi94aHRtbCt4bWw7cT0wLjksaW1hZ2Uvc3ZnK3htbCxpbWFnZS9w
bmcsKi8qO3E9MC41Iik7CisjZWxzZQorICAgICAgICByZXF1ZXN0LnNldEhUVFBBY2NlcHQoInRl
eHQvaHRtbCxhcHBsaWNhdGlvbi94aHRtbCt4bWw7cT0wLjksaW1hZ2UvcG5nLCovKjtxPTAuNSIp
OworI2VuZGlmCiB9CiAKIHZvaWQgRnJhbWVMb2FkZXI6OmNvbW1pdHRlZExvYWQoRG9jdW1lbnRM
b2FkZXIqIGxvYWRlciwgY29uc3QgY2hhciogZGF0YSwgaW50IGxlbmd0aCkK
</data>

          </attachment>
      

    </bug>

</bugzilla>