def cdn_metadata
      log "retrieving container CDN metadata from #{container_path}"
      response = cdn_client.head(container_path)
      {
        :cdn_enabled => response["X-CDN-Enabled"] == "True",
        :host => response["X-CDN-URI"],
        :ssl_host => response["X-CDN-SSL-URI"],
        :streaming_host => response["X-CDN-STREAMING-URI"],
        :ttl => response["X-TTL"].to_i,
        :log_retention => response["X-Log-Retention"] == "True"
      }
    end
def cdn_metadata
      log "retrieving container CDN metadata from #{container_path}"
      response = cdn_client.head(container_path)
      {
        :cdn_enabled => response["X-CDN-Enabled"] == "True",
        :host => response["X-CDN-URI"],
        :ssl_host => response["X-CDN-SSL-URI"],
        :streaming_host => response["X-CDN-STREAMING-URI"],
        :ttl => response["X-TTL"].to_i,
        :log_retention => response["X-Log-Retention"] == "True"
      }
    end
Return the key details for CDN access to this container. Can be called
 on non CDN enabled containers, but the details won't make much sense.