On Sat, 2010-02-20 at 19:44 -0500, Philippe LeCavalier wrote:
> On Sat, 2010-02-20 at 10:20 -0500, Adam Tauno Williams wrote: 
> > > < ETag: -0
> > That is a strange looking etag; valid, but suspicious.  I'd suspect the
> > server doesn't generate etags correctly.
> > > < Transfer-Encoding: chunked
> > > < Content-Type: application/octet-stream
> > > (process:16763): e-cal-backend-caldav-WARNING **: Object to fetch
> > > 'http://[email protected]/insight/rpc.php/plecavalier/20100219T164212Z-16763-1000-15761-2_plc-20100219T164246Z.ics'
> > >  not of type text/calendar
> > It looks like the server does not return any Content-Type header, which
> > is not a valid HTTP response.
> > You should see something like:
> > < Content-Type: text/calendar
> > If Lightning/Sunbird works it probably means it doesn't check the
> > Content-Type header but just assumes the payload is of the expected
> > type.  Evolution is more strict about such things than most clients.
> Ok. Well, it certain feels like we're getting somewhere with this now.
> Is there anything else you can think of before I bring this to Bynari?

I'd confirm with a tool like wireshark or tcpdump that the server does,
in fact, not have a Content-Type header in the response.  But otherwise
not really - a Content-Type header is an HTTP 1.1 requirement.

If you aren't familiar with wireshark/tcpdump you can probably just
perform the request with the common curl utility, like:


$ curl -vvvv -u adam:fred123 \
     http://127.0.0.1:8080/dav/Calendar/13893410.ics
* About to connect() to 127.0.0.1 port 8080 (#0)
*   Trying 127.0.0.1... connected

.... blah blah ....
 
< HTTP/1.1 200 OK    <----- all this and below is the servers response
< Server: BaseHTTP/0.3 Python/2.6.2
< Date: Sun, 21 Feb 2010 01:04:21 GMT
< Content-Length: 882
< etag: 13893410:24
< Content-Type: calendar/ics <-- you have to have a Content-Type header.
< 
BEGIN:VCALENDAR
VERSION:2.0

--- Of course replace the username:password and URL with yout own.

-- 
Adam Tauno Williams <[email protected]> LPIC-1, Novell CLA
<http://www.whitemiceconsulting.com>
OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba

_______________________________________________
Evolution-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to