<?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>17903</bug_id>
          
          <creation_ts>2012-07-18 07:15:10 +0000</creation_ts>
          <short_desc>Be more explicit about headers in redirects.</short_desc>
          <delta_ts>2012-10-05 23:03:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#fetching-resources</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70273</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:15:10 +0000</bug_when>
    <thetext>This was was cloned from bug 15228 as part of operation convergence.
Originally filed: 2011-12-16 10:04:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2011-12-16 10:04:09 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html
Multipage: http://www.whatwg.org/C#fetching-resources
Complete: http://www.whatwg.org/c#fetching-resources

Comment:
Be more explicit about headers in redirects.

Posted from: 83.85.115.123 by annevk@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.2; U; en) Presto/2.10.229 Version/11.60
================================================================================
 #1   Anne                                            2011-12-16 10:05:55 +0000 
--------------------------------------------------------------------------------
Apparently it depends on the header whether it is preserved in redirects or not and it is not possible to make a general rule for them. However, all headers have to deal with (&quot;author request headers&quot; in XMLHttpRequest, Last-Event-ID, Ping-To, Ping-From) need to be preserved across redirects so we should make that extra clear in the fetching algorithm.
================================================================================
 #2   Anne                                            2011-12-16 10:07:01 +0000 
--------------------------------------------------------------------------------
See also:

http://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/0420.html
http://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/0441.html
================================================================================
 #3   Ian &apos;Hixie&apos; Hickson                             2012-01-28 22:07:12 +0000 
--------------------------------------------------------------------------------
So... what do I put in the spec here?
================================================================================
 #4   Ian &apos;Hixie&apos; Hickson                             2012-02-01 00:21:23 +0000 
--------------------------------------------------------------------------------
(waiting for anne&apos;s return)
================================================================================
 #5   Anne                                            2012-02-02 18:32:00 +0000 
--------------------------------------------------------------------------------
Something along the lines of &quot;when following a redirect, include each header included in the original request, unless there are specific requirements for the header in question (e.g. Referer changes during redirects)&quot;.
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71577</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-07-27 03:45:57 +0000</bug_when>
    <thetext>Ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75430</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-10-05 23:03:02 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7436.
Check-in comment: Define what happens with our HTTP headers in redirects. (Hopefully HTTP defines what happens with most headers.)
http://html5.org/tools/web-apps-tracker?from=7435&amp;to=7436</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>