Alvaro Lopez Ortega schreef:
> Stefan de Konink wrote:
> 
>> Is it possible to apply an encoder on top of an handler, but specify 
>> it per target? I thought in the past this could be configured, but now 
>> I only see a global encoding (where I don't have a clue how to specify 
>> my handler).
>>
>> I would like to gzip the output of my handler.
> 
> Handlers and Encoders are completely independent.
> 
> Right now encoders are applied depending on the request extension. 
> However, it would be an interesting idea to change the extension 
> checking by MIME type checking.

So if I understand it correctly. If I would allow a request with the 
name .txt go to my handler, and I allow .txt to be gzipped then it will 
be automatically gzipped?

My worries with MIME would be that there should happen actual processing 
to check validness.


Stefan
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to