[cosmo-dev] Re: Lightning + Cosmo
grant at osafoundation.org
Thu Dec 20 08:12:45 PST 2007
On 20 Dec, 2007, at 08:03, Travis Vachon wrote:
>>> Hi Jared,
>>> I got a trace from Wireshark (saved in pdml and attached. I have
>>> edited the file to hide my password). The error is a 403 Forbidden
>>> message that Cosmo sends back and the description of the problem
>>> in the xml is:
>>> Calendar data of type text/calendar, charset=utf-8 not allowed;
>>> only text/calendar
>>> Does this make sense? Is Lightning not specifying the correct
>>> charset or should Cosmo accept it?
>> Cosmo should accept that charset parameter IMO. Most clients omit
>> it, so I'm guessing Cosmo doesn't deal with the case of parameters
>> in the Content-Type header.
> AFAIK the servlet framework does handle charset parameters, but I've
> never seen a comma used to delimit header parameters, generally ; is
> Further investigation reveals this is a bug in Lightning (according
> the the http 1.1 spec):
Oh, good catch! I didn't notice the "," vs ";", of course.
More information about the cosmo-dev