<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Re: [Seaside] RE: iCal to Drupal requires Content-Encoding: gzip</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Are you sure its actually utf8? I had to put some nasty hacks in VW/Seaside to get that to work in both 7.6 and 7.7... Just a thought, if your content is all ascii then it makes no difference.<BR>
<BR>
-Boris (via BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: Seaside List &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Tue Sep 22 11:04:27 2009<BR>
Subject: [Seaside] RE: iCal to Drupal requires Content-Encoding: gzip<BR>
<BR>
&gt;&gt;Boris,<BR>
&gt;&gt;By the way, it might be easier to compare text files obtained with curl,<BR>
&gt;&gt;curl -iL <A HREF="http://www.google.com">http://www.google.com</A> &gt; google.txt<BR>
&gt;&gt;curl -iL <A HREF="http://www.microsoft.com">http://www.microsoft.com</A> &gt; microsoft.txt<BR>
<BR>
&gt;Yes, this does show the Content-Dispostion difference.  Google data is correctly in-lined.  Our data<BR>
&gt;has the &lt;!DOCTYPE hmtl... header.<BR>
&gt;Sounds like I need to understand how to properly answer the iCal datal.  I can work on that.<BR>
<BR>
Using...<BR>
 response := Seaside.WAResponse<BR>
  document: self iCalText <BR>
  mimeType:  'text/calendar;charset=utf-8'.<BR>
 response doNotCache.<BR>
 self session returnResponse: response.<BR>
<BR>
...curl says were answering...<BR>
<BR>
HTTP/1.1 200 OK<BR>
Expires: Sat, 1 Jan 2095 07:00:00 -0500<BR>
Expires: Wed, 11 Jun 1980 08:00:00 -0400<BR>
Cache-control: no-cache,must-revalidate<BR>
Pragma: no-cache<BR>
Content-type: text/calendar;charset=utf-8<BR>
Content-length: 10944<BR>
<BR>
BEGIN:VCALENDAR<BR>
&lt;...&gt;<BR>
<BR>
Drupal is still not happy.  But at least this looks cleaner than what I had before. <BR>
A bit more to do.<BR>
<BR>
Bob<BR>
_______________________________________________<BR>
seaside mailing list<BR>
seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>

</BODY>
</HTML>