[wp-trac] [WordPress Trac] #14184: HTTP API is not allowing '0' for headers and cookies.

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 8 05:34:37 UTC 2012


#14184: HTTP API is not allowing '0' for headers and cookies.
--------------------------+-----------------------
 Reporter:  mailnew2ster  |       Owner:  dd32
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.5
Component:  HTTP          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by dd32):

 In addition to the above,  both Streams and fsockopen can send empty
 headers ("Header: ") without problem, however, curl doesn't support this
 (the header isn't sent). They all send "Header: 0" without a problem.

 According to http://curl.haxx.se/mail/lib-2006-01/0249.html you can use
 'Header: ""' for clients that follow the RFC, unfortunately that didn't
 work with my testing (PHP see's "" as the value).

 Other than adding the extra documentation link, I see nothing more that
 can be done here, nor any bugs related in our code.

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


More information about the wp-trac mailing list