Bug 160741 - Content-Type of WebDAV upload is wrong
Summary: Content-Type of WebDAV upload is wrong
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-04-12 13:28 UTC by Aurelien Bompard
Modified: 2017-01-07 22:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.