You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Damiano Albani (JIRA)" <ji...@apache.org> on 2015/03/17 15:41:38 UTC

[jira] [Created] (JCLOUDS-854) Support "transparent" HTTP compression

Damiano Albani created JCLOUDS-854:
--------------------------------------

             Summary: Support "transparent" HTTP compression
                 Key: JCLOUDS-854
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-854
             Project: jclouds
          Issue Type: Wish
          Components: jclouds-blobstore
            Reporter: Damiano Albani


Unless I missed it, I haven't found a high-level parameter telling jclouds to use HTTP compression when uploading blobs.
Yet many (all?) blobstore providers support transparent GZIP compression through the HTTP {{Content-Disposition}} mechanism.
Even better than a global toggle, it would be nice to have some kind of {{PutOptions.COMPRESS}} option that could be set on a per blob basis.

I don't really how this feature could be implemented though.
Should this compression job be handled by jclouds itself or be the responsibility of the underlying HTTP driver library?
The OkHttp library already contains the capability to transparently compress HTTP requests for instance: https://github.com/square/okhttp/wiki/Interceptors#rewriting-requests
But I'm not sure if Apache Http Components supports this as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)