2013/3/22 joris dedieu <[email protected]>:
>>
>> I still have many 404 errors due
>> to ICS and VCF formating (I think)
>
> This problem is due to character encoding.  Only files in us-ascii
> work. Both UTF-8 and ISO-8859-1 are reject. Does anyone as an idea on
> how to deal with this ?

Ok it works using HTML entities.

>
>
> $ file -bi notworking.ics
> text/plain; charset=utf-8
> $ file -bi notworking2.ics
> text/plain; charset=us-ascii
>
>
>
> $ curl -i  -u  XXXX  --upload-file notworking.ics
> http://localhost:20000/SOGo/dav/XXXX/Calendar/personal/
> HTTP/1.1 404 Not Found
> sogo-request-duration: 0.006270
> content-length: 208
> content-type: text/html; charset="iso-8859-1"
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <body><h3>An error occurred during object publishing</h3><p>the
> requested object could not be found!</p></body>
> </html>
>
> $ curl -i  -u  XXXX  --upload-file notworking2.ics
> http://localhost:20000/SOGo/dav/XXXX/Calendar/personal/
> HTTP/1.1 201 Created
> sogo-request-duration: 0.021358
> content-length: 0
> content-type: text/plain
> etag: "gcs00000000"
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to