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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
14 + 34 = ?
Subscribe to this entry?

 
 [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-2019 The PHP Group
All rights reserved.
Last updated: Sat Nov 16 21:01:32 2019 UTC