Permalink
Browse files

Bug Fix

  • Loading branch information...
1 parent 7bb4674 commit 4225c27beb48cf0b74b9e93d190594086d7f2e57 @sudorandom sudorandom committed Dec 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 object_storage/storage_object.py
@@ -217,6 +217,7 @@ def create(self, headers=None):
@raises ResponseError
@return: StorageObject - self
"""
+ headers = headers or {}
content_type = self.content_type or mimetypes.guess_type(self.name)[0]
if not content_type:
content_type = 'application/octet-stream'

0 comments on commit 4225c27

Please sign in to comment.