[jira] [Commented] (LIBCLOUD-458) Use HTTPS CDN URIs for Rackspace Cloud Files

2017-08-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/LIBCLOUD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16122826#comment-16122826
 ] 

ASF GitHub Bot commented on LIBCLOUD-458:
-

Github user asfgit closed the pull request at:

https://github.com/apache/libcloud/pull/1076


> Use HTTPS CDN URIs for Rackspace Cloud Files
> 
>
> Key: LIBCLOUD-458
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-458
> Project: Libcloud
>  Issue Type: Improvement
>  Components: Storage
>Affects Versions: 0.14.0-beta3
>Reporter: Michael Farrell
>
> I found another patch in my collection, where I had patched the Rackspace 
> storage driver to use the HTTPS CDN URI.
> I'm unsure if it may be best to have this as an option for storage drivers, 
> but if this option is added, it will also need to be implemented for the 
> other storage drivers.  I would like some advice on this.
> The patch that hard codes it to use HTTPS URIs always for the CDN, as a 
> 1-line change (ie: without the settings proposed above):
> {code}
>  libcloud/storage/drivers/cloudfiles.py 
> 
> index 1502a33..6e7f931 100644
> @@ -273,7 +273,7 @@ class CloudFilesStorageDriver(StorageDriver, 
> OpenStackDriverMixin):
> cdn_request=True)
>  
>  if response.status == httplib.NO_CONTENT:
> -cdn_url = response.headers['x-cdn-uri']
> +cdn_url = response.headers['x-cdn-ssl-uri']
>  return cdn_url
>  elif response.status == httplib.NOT_FOUND:
>  raise ContainerDoesNotExistError(value='',
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LIBCLOUD-458) Use HTTPS CDN URIs for Rackspace Cloud Files

2017-08-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/LIBCLOUD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16122825#comment-16122825
 ] 

ASF subversion and git services commented on LIBCLOUD-458:
--

Commit b21787bd4f500bee9e61f700bb21b2e88bf21d1a in libcloud's branch 
refs/heads/trunk from [~ayleph]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=b21787b ]

Add SSL URI support for LIBCLOUD-458

Add an optional argument to retrieve the x-cdn-ssl-uri of a Cloud Files
container.


> Use HTTPS CDN URIs for Rackspace Cloud Files
> 
>
> Key: LIBCLOUD-458
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-458
> Project: Libcloud
>  Issue Type: Improvement
>  Components: Storage
>Affects Versions: 0.14.0-beta3
>Reporter: Michael Farrell
>
> I found another patch in my collection, where I had patched the Rackspace 
> storage driver to use the HTTPS CDN URI.
> I'm unsure if it may be best to have this as an option for storage drivers, 
> but if this option is added, it will also need to be implemented for the 
> other storage drivers.  I would like some advice on this.
> The patch that hard codes it to use HTTPS URIs always for the CDN, as a 
> 1-line change (ie: without the settings proposed above):
> {code}
>  libcloud/storage/drivers/cloudfiles.py 
> 
> index 1502a33..6e7f931 100644
> @@ -273,7 +273,7 @@ class CloudFilesStorageDriver(StorageDriver, 
> OpenStackDriverMixin):
> cdn_request=True)
>  
>  if response.status == httplib.NO_CONTENT:
> -cdn_url = response.headers['x-cdn-uri']
> +cdn_url = response.headers['x-cdn-ssl-uri']
>  return cdn_url
>  elif response.status == httplib.NOT_FOUND:
>  raise ContainerDoesNotExistError(value='',
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LIBCLOUD-458) Use HTTPS CDN URIs for Rackspace Cloud Files

2016-10-30 Thread Andrew Browning (JIRA)

[ 
https://issues.apache.org/jira/browse/LIBCLOUD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15621155#comment-15621155
 ] 

Andrew Browning commented on LIBCLOUD-458:
--

I'm affected by this issue as well. I'd like to use libcloud to replace 
[python-cloudfiles|https://pypi.python.org/pypi/python-cloudfiles] and 
[pyrax|https://pypi.python.org/pypi/pyrax] as a storage driver for the [GNU 
MediaGoblin|http://mediagoblin.org/] project. These other projects provide a 
method to return the SSL URI of a container. I would like to see that 
functionality added to libcloud so GNU MediaGoblin can move forward to a 
non-deprecated storage driver.

> Use HTTPS CDN URIs for Rackspace Cloud Files
> 
>
> Key: LIBCLOUD-458
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-458
> Project: Libcloud
>  Issue Type: Improvement
>  Components: Storage
>Affects Versions: 0.14.0-beta3
>Reporter: Michael Farrell
>
> I found another patch in my collection, where I had patched the Rackspace 
> storage driver to use the HTTPS CDN URI.
> I'm unsure if it may be best to have this as an option for storage drivers, 
> but if this option is added, it will also need to be implemented for the 
> other storage drivers.  I would like some advice on this.
> The patch that hard codes it to use HTTPS URIs always for the CDN, as a 
> 1-line change (ie: without the settings proposed above):
> {code}
>  libcloud/storage/drivers/cloudfiles.py 
> 
> index 1502a33..6e7f931 100644
> @@ -273,7 +273,7 @@ class CloudFilesStorageDriver(StorageDriver, 
> OpenStackDriverMixin):
> cdn_request=True)
>  
>  if response.status == httplib.NO_CONTENT:
> -cdn_url = response.headers['x-cdn-uri']
> +cdn_url = response.headers['x-cdn-ssl-uri']
>  return cdn_url
>  elif response.status == httplib.NOT_FOUND:
>  raise ContainerDoesNotExistError(value='',
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)