php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54900 Implement content compression for HTTP streams with "protocol_version" = 1.1
Submitted: 2011-05-21 17:41 UTC Modified: 2021-07-27 13:34 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: simast at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: Streams related
PHP Version: 5.3.6 OS: Linux/Ubuntu
Private report: No CVE-ID: None
 [2011-05-21 17:41 UTC] simast at gmail dot com
Description:
------------
A feature request to implement HTTP stream content compression in the following 
scenario:

If a HTTP context is created with "protocol_version" = 1.1, send 'Accept-Encoding' 
header and if the server responds with "Content-Encoding" header - 
handle/decompress content. While this functionality can be implemented in PHP-
userland - it would be great to have it built-in.

I guess this feature could be totally transparent and, for example, should be 
silently disabled if zlib is not available.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-27 13:34 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-07-27 13:34 UTC] cmb@php.net
Given that there was no feeback for more than ten years, I'm
closing as WONTFIX.  If you're still interested in the transparent
(de)compression, please pursue the RFC process[1].

[1] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 16:01:31 2024 UTC