[wp-trac] [WordPress Trac] #9297: Updated List of HTTP status codes for wp_header_to_desc

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 17 10:39:40 UTC 2010


#9297: Updated List of HTTP status codes for wp_header_to_desc
-------------------------------+--------------------------------------------
 Reporter:  Askapache          |        Owner:  Askapache
     Type:  enhancement        |       Status:  closed   
 Priority:  low                |    Milestone:  2.8      
Component:  HTTP               |      Version:  2.8      
 Severity:  trivial            |   Resolution:  fixed    
 Keywords:  has-patch, tested  |  
-------------------------------+--------------------------------------------

Comment(by hakre):

 Another flaw with this patch:

 There is [http://tools.ietf.org/html/rfc2616#section-6.1.1 no 306 status
 code in HTTP 1.1]. More details in
 [http://tools.ietf.org/html/rfc2616#section-10.3.7 section 10.3.7 306
 (Unused)]:

 > The 306 status code was used in a previous version of the
 > specification, is no longer used, and the code is reserved.

 So this function MUST return an empty string for 306 for both HTTP 1.0 and
 HTTP 1.1 (that's the two HTTP versions wordpress currently supports).

 The previous version was an [http://ftp.ics.uci.edu/pub/ietf/http/draft-
 cohen-http-305-306-responses-00.txt Internet-Draft by Josh Cohen from
 Netscape Communications Corp. dated 5 December 1996 and entitled "HTTP/1.1
 305 and 306 Response Codes", filename <draft-cohen-
 http-305-306-responses-00.txt>]. It's a draft. It never made it into HTTP
 1.1 and it never was in HTTP 1.0.

 I will not re-open this ticket because it's for an older version. I put
 this information here for documentation purposes.

 There are other Headers from HTTP 1.1 extenstions like WEBDAV that I
 should go through as well. Let's see what that turns out.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9297#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list