[wp-trac] [WordPress Trac] #16885: Warning emited in Header parsing when server does not specify a response "Message"

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 5 06:23:25 UTC 2011


#16885: Warning emited in Header parsing when server does not specify a response
"Message"
--------------------------+---------------------
 Reporter:  dd32          |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.2
Component:  HTTP          |     Version:  3.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by dd32):

 * milestone:  Awaiting Review => 3.2


Comment:

 went with the empty message field since that's what the server is
 returning.

 The message can be absolutely anything "HTTP/1.1 200 Woot!" is a
 completely valid response, although discouraged. Any code should be
 validating based on the response code, so an empty message is not the end
 of the world.

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


More information about the wp-trac mailing list