<?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>17222</bug_id>
          
          <creation_ts>2012-05-28 12:25:51 +0000</creation_ts>
          <short_desc>treat status code 308 consistently with 301, 302, and 307</short_desc>
          <delta_ts>2012-10-09 14:58:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>XHR</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/XMLHttpRequest/#infrastructure-for-the-send-method</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="Julian Reschke">julian.reschke</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68220</commentid>
    <comment_count>0</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2012-05-28 12:25:51 +0000</bug_when>
    <thetext>The spec has specific requirements for HTTP status codes 301, 302, and 307. Status code 308 should be added here.

Approved IETF spec: &lt;https://datatracker.ietf.org/doc/draft-reschke-http-status-308/&gt;

IANA registry: &lt;http://www.iana.org/assignments/http-status-codes/http-status-codes.xml&gt;

Related mozilla bug: &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=758973&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68223</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-28 14:11:59 +0000</bug_when>
    <thetext>So now each time we talk about redirects we have to reference two documents? Is there not some better way?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68224</commentid>
    <comment_count>2</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2012-05-28 14:34:16 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; So now each time we talk about redirects we have to reference two documents? Is
&gt; there not some better way?

In theory you could just talk about the semantics of the status code (does it really have &quot;redirection semantics&quot; as per category 1 in &lt;http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#status.3xx&gt;), and point the reader to the IANA registry for status codes. 

The bigger issue here is that, optimally, HTTPbis would answer this question for unknown 3xx codes as well (because, after all, introducing 308 shouldn&apos;t require special support from browsers). But then, with the addition of 308, the set of &quot;real&quot; redirect codes should be complete anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73765</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-09-13 12:45:49 +0000</bug_when>
    <thetext>https://github.com/whatwg/xhr/commit/9911e0e70b4685605a2feb4cbb49c6373ea42813

Leaving open to see if the HTTP issue gets resolved somehow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73766</commentid>
    <comment_count>4</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2012-09-13 12:53:19 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; https://github.com/whatwg/xhr/commit/9911e0e70b4685605a2feb4cbb49c6373ea42813
&gt; 
&gt; Leaving open to see if the HTTP issue gets resolved somehow.

I don&apos;t believe that the HTTPbis specs are going to change with respect to this. HTTPbis is close to WGLC, so if you believe it *should* say more here it would be good to send feedback to the WG mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73767</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-09-13 12:57:49 +0000</bug_when>
    <thetext>Also fixed this in CORS btw: https://github.com/whatwg/fetch/commit/1bc9976cc455da53cc907204e23736dd49cb6dcd

(You&apos;ll be added to the acknowledgments next commit, forgot.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75689</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-10-09 14:58:08 +0000</bug_when>
    <thetext>As long as HTTP does not say anything I guess browsers will treat the others as not redirecting either so resolving this as fixed. Further changes to redirect handling are probably best discussed separately.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>