On Thu, Jul 25, 2013 at 5:10 PM, rjjvandenberg <rjjvandenb...@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-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to