Commits

cweidenkeller committed d7a85bf

fixed small bug with last release.

  • Participants
  • Parent commits d2d2abd

Comments (0)

Files changed (2)

cloudfiles/consts.py

 """ See COPYING for license information. """
 
-__version__ = "1.7.10"
+__version__ = "1.7.11"
 user_agent = "python-cloudfiles/%s" % __version__
 us_authurl = 'https://auth.api.rackspacecloud.com/v1.0'
 uk_authurl = 'https://lon.auth.api.rackspacecloud.com/v1.0'

cloudfiles/container.py

         @param metadata: A dictionary containing metadata.
         @type metadata: dict
         """
-        response = self.conn.make_request('POST', [self.name])
+        response = self.conn.make_request('POST', [self.name], hdrs=metadata)
         response.read()
         if (response.status < 200) or (response.status > 299):
             raise ResponseError(response.status, response.reason)