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

WordPress Trac noreply at wordpress.org
Sun Dec 23 23:25:21 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 dd32):

 Bingo! It's the Accept-Encoding header..

 Currently, for ALL requests we send this:
 {{{
 Accept-Encoding: deflate;q=1.0, compress;q=0.5, gzip;q=0.5
 }}}

 We should not send compression encodings when saving to file, and we
 should add identity to the list of accepted encodings in all cases.

 Do we need to specifically disable the compression methods, or just not
 mention them in the header? I have a feeling the few broken
 servers/proxies out there will ignore the header anyway..

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


More information about the wp-trac mailing list