wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Response header is not set by the resourcereference when changing the request handler
Date Thu, 25 Jul 2013 14:15:45 GMT
On Thu, Jul 25, 2013 at 5:10 PM, rjjvandenberg <rjjvandenberg@gmail.com>wrote:

>
> > Yes, the headers should be set by ZippedDocumentsResourceReference, but
> > this reference is not coming with Wicket distro, so you should debug it
> > yourself.
>
> The same problem occurs when using PackageResourceReference.
>

PRR sets the content-type depending on the file type (JS, CSS, PNG, ...)
For file download you should set Content-Disposition yourself.
See org.apache.wicket.request.resource.AbstractResource.ResourceResponse#setContentDisposition


>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Response-header-is-not-set-by-the-resourcereference-when-changing-the-request-handler-tp4660487p4660489.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message