mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Merge pull request #22 from geier/Content_Type_Tuple
headers['Content-Type'] should not be a tuple
This commit is contained in:
commit
6830a3b7bf
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class DavStorage(HttpStorageBase):
|
|||
|
||||
def _put(self, href, obj, etag):
|
||||
headers = self._default_headers()
|
||||
headers['Content-Type'] = self.item_mimetype,
|
||||
headers['Content-Type'] = self.item_mimetype
|
||||
if etag is None:
|
||||
headers['If-None-Match'] = '*'
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue