Bug 160741

Summary: Content-Type of WebDAV upload is wrong
Product: [Applications] korganizer Reporter: Aurelien Bompard <gauret>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: lemma
Priority: NOR Keywords: triaged
Version: SVN trunk (KDE 4)   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Aurelien Bompard 2008-04-12 13:28:05 UTC
Version:           3.5.9 (using KDE 3.5.9)
Installed from:    Fedora RPMs
OS:                Linux

When using a "remote ics"-type calendar, the upload is done via WebDAV. This works fine except that the content-type of the uploaded ics file is "application/octet-stream" instead of "text/x-icalendar".
This causes an error when using korganizer with Horde (http://horde.org) in its devel version (3.2RC3), which checks the content type.
Comment 1 Michael Leupold 2008-09-28 11:52:14 UTC
If I upload an ics file to my WebDAV server, korganizer sends the following header:
--------------------------------------
PUT /folder/mycal2.ics HTTP/1.1
Host: myhost.somewhere.com
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.68 (like Gecko)
Pragma: no-cache
Cache-control: no-cache
Accept: text/html, image/jpeg, image/png, text/*, image/*, */*
Accept-Encoding: x-gzip, x-deflate, gzip, deflate
Accept-Charset: iso-8859-15, utf-8;q=0.5, *;q=0.5
Accept-Language: en-US, en
Authorization: <stripped>
Content-Length: 2949
--------------------------------------
There's no content-type set whatsoever. I guess it's not strictly neccessary to set it (and apache can do fine without) but it might be needed for other servers.
On downloading the file my Apache2 mod_dav sends content-type "text/calendar" (which seems correct). Does the interoperability problem still exist for you?
Comment 2 Denis Kurz 2016-09-24 18:51:02 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:23:18 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.