Ticket #989 (closed Enhancement: fixed)
Core API: the static resource filter should have access to the response object
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.8.2 |
Component: | DeepaMehta Standard Distribution | Version: | 4.8.1 |
Keywords: | Cc: | dgf, Malte, JuergeN | |
Complexity: | 3 | Area: | Application Framework / API |
Module: | deepamehta-core |
Description
Currently the ResourceRequestFilterListener interface looks like:
void resourceRequestFilter(HttpServletRequest request)
The user should have access to the HttpServletResponse object as well, in order to e.g. add specific response headers:
void resourceRequestFilter(HttpServletRequest request, HttpServletResponse response)
This would be needed by the Files plugin in order to support downloading files through setting the Content-Disposition header (see #661).
Change History
Note: See
TracTickets for help on using
tickets.