[Seaside] File Download Link

Julian Fitzell jfitzell at gmail.com
Thu Sep 15 08:08:33 UTC 2011


I'm not really sure what you're asking. But the Location: header has
no effect in a 200 HTTP OK response. Normally you use it with a 302,
though the spec defines behaviour for a number of others.

Julian

On Tue, Sep 13, 2011 at 2:39 AM, Robert Sirois <watchlala at hotmail.com> wrote:
> If I do something like this in a callback...
> self requestContext respond: [:response |
> response location: index localURL.
> ].
> ... nothing happens. If I just do "#url: index localURL;" it works fine, but
> then the path is totally public of course.
> The callbacks are kind of nifty because the urls are unique.
> RS
> ________________________________
> Date: Mon, 12 Sep 2011 17:16:13 +0100
> Subject: Re: [Seaside] File Download Link
> From: nick.ager at gmail.com
> To: seaside at lists.squeakfoundation.org
>
>
>
> On 12 September 2011 17:06, Sebastian Sastre <sebastian at flowingconcept.com>
> wrote:
>
> configure the httpd to use it and make in the seaside app a x-sendfile kind
> of link
> take a look:
> http://wiki.nginx.org/XSendfile
> sebastian
> o/
>
> or if you don't mind the file being publicly visible, just ensure that Nginx
> will serve the file directly then return a link to it;
> WAResponse>>#location:
>
> _______________________________________________ seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list