hi Bertrand

On Aug 8, 2014, at 9:18 AM, Bertrand Delacretaz <[email protected]> wrote:

> Hi Antonio,
> 
> On Fri, Aug 8, 2014 at 8:45 AM, Antonio Sanso <[email protected]> wrote:
>> ...At application level we can add a filter that force to download the file 
>> (hence Content-Disposition )
>> for some user specific paths (e.g. content/forum/comments) for some specific 
>> and
>> configurable content-type (e.g. application/x-shockwave-flash)...
> 
> Ok, so the filter would be configured with path patterns like
> content/forum/comments.*, and a list of applicable content types?
> 
> And the filter uses ServletResponse.getContentType() to find out about
> the actual content type?

yes this is the idea :)

regards

antonio

> 
> -Bertrand

Reply via email to