[wp-trac] [WordPress Trac] #22913: Files "corrupted" when streamed to file via HTTP API

WordPress Trac noreply at wordpress.org
Mon Dec 24 02:31:52 UTC 2012


#22913: Files "corrupted" when streamed to file via HTTP API
--------------------------+-----------------------------
 Reporter:  samthorne     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  HTTP          |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by azaozz):

 Seems like `header('Accept-Encoding: identity');` is HTTP 1.0 and `q=0,
 ...q=1.0` were added in HTTP 1.1. Thinking even the most broken proxy
 should respect HTTP 1.0, unfortunately if it doesn't support 1.1, it may
 ignore a header with `q=0` completely.

 Yeah, `identity` is the default value, should be the same as sending an
 empty header. Haven't seen it specified anywhere though, perhaps worth it
 digging up some clients that don't accept compressed content and seeing
 what they use.

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


More information about the wp-trac mailing list