<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Boris,</span></div><div>Thanks, nice catch.</div><div>No filename in the response was indeed the difference.</div><div><br></div><div>Bob</div><div><br></div>  <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> "Boris Popov, DeepCove Labs" &lt;boris@deepcovelabs.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, December 19, 2011 2:46:53 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> RE: [Seaside] Re: View PDF in browser<br> </font> <br>I just tested the below
 locally in Chrome and Firefox,<br><br>"Chrome downloads the file; Firefox prompts to download the file"<br>self requestContext respond: <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; [:response |<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; response document: ((WAMimeDocument on: bytes mimeType:<br>'application/pdf')<br>&nbsp;&nbsp;&nbsp; <br>fileName: filename;<br>&nbsp;&nbsp;&nbsp; <br>yourself)]<br><br>"Chrome opens the document in the browser; Firefox opens the document in<br>the browser"<br>self requestContext respond: <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; [:response |<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; response document: (WAMimeDocument on: bytes mimeType:<br>'application/pdf')]<br><br>-Boris<br><br>-----Original Message-----<br>From: <a ymailto="mailto:seaside-bounces@lists.squeakfoundation.org" href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a><br>[mailto:<a
 ymailto="mailto:seaside-bounces@lists.squeakfoundation.org" href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a>] On Behalf Of Yanni<br>Chiu<br>Sent: Monday, December 19, 2011 2:36 PM<br>To: <a ymailto="mailto:seaside@lists.squeakfoundation.org" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>Subject: [Seaside] Re: View PDF in browser<br><br> &lt;bobn &lt;at&gt; rogers.com&gt; writes:<br>&gt; <br>&gt; Neither made a difference.<br>&gt; <br>&gt; Is there something else you're suggesting?<br><br>Nothing other than what you tried.<br><br>At this point, I'd look at the actual bytes being sent in the two cases.<br>I still think there's a difference in the http headers. I usually use<br>"telnet"<br>to the http port, and respond with "GET &lt;your-URL-here&gt; HTTP/1.1".<br><br><br>_______________________________________________<br>seaside mailing list<br><a
 ymailto="mailto:seaside@lists.squeakfoundation.org" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>_______________________________________________<br>seaside mailing list<br><a ymailto="mailto:seaside@lists.squeakfoundation.org" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br><br><br> </div> </div>  </div></body></html>