You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "William Bardwell (JIRA)" <ji...@apache.org> on 2011/06/30 17:29:28 UTC

[jira] [Updated] (TS-861) Need a way to disable Vary: Accept-Encoding checking so a plugin can take care of that

     [ https://issues.apache.org/jira/browse/TS-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Bardwell updated TS-861:
--------------------------------

    Attachment: vary_accept_encoding.diff

> Need a way to disable Vary: Accept-Encoding checking so a plugin can take care of that
> --------------------------------------------------------------------------------------
>
>                 Key: TS-861
>                 URL: https://issues.apache.org/jira/browse/TS-861
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: HTTP
>    Affects Versions: 3.0.0
>            Reporter: William Bardwell
>            Priority: Minor
>         Attachments: vary_accept_encoding.diff
>
>
> I was using the "proxy.config.http.cache.ignore_accept_encoding_mismatch" config setting and providing alt selection hooks to try to let a plugin take over handling of gzip vs uncompressed content, but I found that the checking of Vary: Accept-Encoding headers happened before alt selection, and so the plugin never got the chance to say "gzip content is fine, I will transform it before sending it".  So I added additional meaning to that setting to fix that.  Perhaps the code should be attached to an all new config setting, but I found the existing meaning of that setting to not do enough.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira