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: -
From: simast at gmail dot com Assigned:
Status: Open Package: Streams related
PHP Version: 5.3.6 OS: Linux/Ubuntu
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC