Bug 324153

Summary: document type not recognized when webdavs-folder is used
Product: [Frameworks and Libraries] kio Reporter: Axel Braun <axel.braun>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adawit, frank78ac
Priority: NOR    
Version: 4.11.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Axel Braun 2013-08-28 08:34:27 UTC
I have a shared drive that is connected via webdav.
When I click a PDF document, the error message
Es ist keine Anwendung zum Öffnen des Dateityps application/octetstream installiert.
Möchten Sie die Installation einer entsprechenden Anwendung versuchen?

Reproducible: Always

Steps to Reproduce:
1. open webdavs-folder
2. select document
3.
Actual Results:  
the documents appear as application/octetstream instead of their right file type (e.g. PDF)
Comment 1 Frank Reininghaus 2013-08-28 08:41:11 UTC
Thanks for the bug report. If mime type detection goes wrong, then this is probably a KIO issue.

Note that mime type detection for remote files only takes the extension into account (to prevent excessive network traffic when downloading the files to examine their contents, which might be required to determine the type). Does your PDF file have the standard extension .pdf? If not, then it's expected that the type is not known.
Comment 2 Axel Braun 2013-08-28 08:46:55 UTC
yes, it has the extention .pdf
Comment 3 Dawit Alemayehu 2013-08-28 12:50:51 UTC

*** This bug has been marked as a duplicate of bug 289083 ***