<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>Oh hm. Does it really make sense to respond with a file then? I'll be honest... my technical expertise is severely lacking in this area.<br><br>RS<br><br>> From&#58; jfitzell&#64;gmail.com<br>> Date&#58; Thu, 15 Sep 2011 09&#58;08&#58;33 &#43;0100<br>> Subject&#58; Re&#58; &#91;Seaside&#93; File Download Link<br>> To&#58; seaside&#64;lists.squeakfoundation.org<br>> <br>> I&#39;m not really sure what you&#39;re asking. But the Location&#58; header has<br>> no effect in a 200 HTTP OK response. Normally you use it with a 302,<br>> though the spec defines behaviour for a number of others.<br>> <br>> Julian<br>> <br>> On Tue, Sep 13, 2011 at 2&#58;39 AM, Robert Sirois &#60;watchlala&#64;hotmail.com&#62; wrote&#58;<br>> &#62; If I do something like this in a callback...<br>> &#62; self requestContext respond&#58; &#91;&#58;response &#124;<br>> &#62; response location&#58; index localURL.<br>> &#62; &#93;.<br>> &#62; ... nothing happens. If I just do &#34;&#35;url&#58; index localURL&#59;&#34; it works fine, but<br>> &#62; then the path is totally public of course.<br>> &#62; The callbacks are kind of nifty because the urls are unique.<br>> &#62; RS<br>> &#62; ________________________________<br>> &#62; Date&#58; Mon, 12 Sep 2011 17&#58;16&#58;13 &#43;0100<br>> &#62; Subject&#58; Re&#58; &#91;Seaside&#93; File Download Link<br>> &#62; From&#58; nick.ager&#64;gmail.com<br>> &#62; To&#58; seaside&#64;lists.squeakfoundation.org<br>> &#62;<br>> &#62;<br>> &#62;<br>> &#62; On 12 September 2011 17&#58;06, Sebastian Sastre &#60;sebastian&#64;flowingconcept.com&#62;<br>> &#62; wrote&#58;<br>> &#62;<br>> &#62; configure the httpd to use it and make in the seaside app a x-sendfile kind<br>> &#62; of link<br>> &#62; take a look&#58;<br>> &#62; http&#58;//wiki.nginx.org/XSendfile<br>> &#62; sebastian<br>> &#62; o/<br>> &#62;<br>> &#62; or if you don&#39;t mind the file being publicly visible, just ensure that Nginx<br>> &#62; will serve the file directly then return a link to it&#59;<br>> &#62; WAResponse&#62;&#62;&#35;location&#58;<br>> &#62;<br>> &#62; _______________________________________________ seaside mailing list<br>> &#62; seaside&#64;lists.squeakfoundation.org<br>> &#62; http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>> &#62; _______________________________________________<br>> &#62; seaside mailing list<br>> &#62; seaside&#64;lists.squeakfoundation.org<br>> &#62; http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>> &#62;<br>> &#62;<br>> _______________________________________________<br>> seaside mailing list<br>> seaside&#64;lists.squeakfoundation.org<br>> http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                               </div></body>
</html>