X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/f52780defde1d44c5ce222153134c04fd339a2c8..2a913bfbeb13fc93ad0ec942d359dbcaa3ad3c1e:/src/eu/alefzero/webdav/WebdavEntry.java diff --git a/src/eu/alefzero/webdav/WebdavEntry.java b/src/eu/alefzero/webdav/WebdavEntry.java index 773276d8..5785f914 100644 --- a/src/eu/alefzero/webdav/WebdavEntry.java +++ b/src/eu/alefzero/webdav/WebdavEntry.java @@ -50,6 +50,8 @@ public class WebdavEntry { mName = tmp[tmp.length - 1]; } + // use unknown mimetype as default behavior + mContentType = "application/octet-stream"; prop = propSet.get(DavPropertyName.GETCONTENTTYPE); if (prop != null) { mContentType = (String) prop.getValue();