libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-552) CloudFiles CURL Request uses -X HEAD instead of --head or -I
Date Fri, 16 May 2014 21:16:43 GMT

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

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

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

Fix container name encoding in iterate_container_objects and
get_container_cdn_url method in the CloudFiles driver.

Reported by Brian Metzler part of LIBCLOUD-552.


> CloudFiles CURL Request uses -X HEAD instead of --head or -I
> ------------------------------------------------------------
>
>                 Key: LIBCLOUD-552
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-552
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Storage
>    Affects Versions: 0.14.0-beta3
>         Environment: Ubuntu 12.04.4 LTS
> curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23
librtmp/2.3
> Python 2.7.3 and Python 3.2.3
>            Reporter: Brian Metzler
>            Priority: Critical
>         Attachments: debug.log
>
>
> When running driver.container.download_object(), it attempts to get the metadata of the
object by using 'curl -X HEAD', instead of 'curl -I' or 'curl --head'.  curl does not properly
handle HEAD requests with -X HEAD, as it still attempts to download the full file.
> Just turn on debugging, and check out the time it takes for a standard curl -I versus
curl -X HEAD.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message