[ 
https://issues.apache.org/jira/browse/SOLR-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648512#action_12648512
 ] 

Hoss Man commented on SOLR-856:
-------------------------------

We should probably provide a simple means for recognizing and responding 
appropriately to "Accept-Encoding: *" requests out of the box without depending 
on support from the servlet container -- but we should make sure this is 
relatively easy to disable in the event that the solr administrator already has 
a preferred way of dealing with this (ie: a load balancer on the same switch as 
solr optimized for handling compression)

the current patch seem lacking to me because disabling the functionality is 
currently impossible without forcing people to gut the code.  We could add 
special config options for it, but frankly using a standalone filter seems like 
the best bet: people who understand HTTP enough to want to disable the default 
encoding are likely to be comfortable commenting out a filter from the web.xml.

using an existing, robust, "supported", well tested, filter for this found 
online certainly seems preferable to trying to roll our own.



> Suport for "Accept-Encoding : gzip" in SolrDispatchFilter
> ---------------------------------------------------------
>
>                 Key: SOLR-856
>                 URL: https://issues.apache.org/jira/browse/SOLR-856
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>         Attachments: SOLR-856.patch
>
>
> If the client sends an Accept-Encoding : gzip header then SolrDispatchFilter 
> should respect that and send back data as zipped

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to