<!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 <seaside-bounces@lists.squeakfoundation.org><BR>
To: Seaside List <seaside@lists.squeakfoundation.org><BR>
Sent: Tue Sep 22 11:04:27 2009<BR>
Subject: [Seaside] RE: iCal to Drupal requires Content-Encoding: gzip<BR>
<BR>
>>Boris,<BR>
>>By the way, it might be easier to compare text files obtained with curl,<BR>
>>curl -iL <A HREF="http://www.google.com">http://www.google.com</A> > google.txt<BR>
>>curl -iL <A HREF="http://www.microsoft.com">http://www.microsoft.com</A> > microsoft.txt<BR>
<BR>
>Yes, this does show the Content-Dispostion difference. Google data is correctly in-lined. Our data<BR>
>has the <!DOCTYPE hmtl... header.<BR>
>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>
<...><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>