Replace text/icalendar with text/calendar

Fix #455
This commit is contained in:
Markus Unterwaditzer 2016-05-25 19:23:25 +02:00
parent 130c9248ba
commit d24f3835ef
4 changed files with 5 additions and 4 deletions

View file

@ -41,7 +41,8 @@ install-style:
style:
flake8
! grep -ri syncroniz */*
! git grep -i syncroniz */*
! git grep -i 'text/icalendar' */*
sphinx-build -W -b html ./docs/ ./docs/_build/html/
python3 scripts/make_travisconf.py | diff -b .travis.yml -

View file

@ -42,7 +42,7 @@ def test_list(monkeypatch):
r.status_code = 200
assert responses
r._content = responses.pop().encode('utf-8')
r.headers['Content-Type'] = 'text/icalendar'
r.headers['Content-Type'] = 'text/calendar'
r.encoding = 'ISO-8859-1'
return r

View file

@ -61,7 +61,7 @@ class TestHttpStorage(StorageTests):
except IOError:
r._content = b''
r.headers['Content-Type'] = 'text/icalendar'
r.headers['Content-Type'] = 'text/calendar'
r.encoding = 'utf-8'
return r

View file

@ -258,7 +258,7 @@ class RemoteStorageCalendars(RemoteStorage):
storage_name = 'remotestorage_calendars'
fileext = '.ics'
item_mimetype = 'text/icalendar'
item_mimetype = 'text/calendar'
scope = 'vdir_calendars'
def __init__(self, **kwargs):