1. Lincoln Loop
  2. Untitled project
  3. python-cloudfiles

Commits

John Dickinson  committed f627643 Merge

Merge pull request #71 from jjwchoy/master

Setting container's ssl uri from response headers after a container is made public

  • Participants
  • Parent commits f420278, fd662af
  • Branches master

Comments (0)

Files changed (1)

File cloudfiles/container.py

View file
         for hdr in response.getheaders():
             if hdr[0].lower() == 'x-cdn-uri':
                 self.cdn_uri = hdr[1]
+            if hdr[0].lower() == 'x-cdn-ssl-uri':
+                self.cdn_ssl_uri = hdr[1]
 
     @requires_name(InvalidContainerName)
     def make_private(self):