jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shri Javadekar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-727) openstack-swift provider's BlobRequestSigner.signPutBlob does not set payload and content lenght
Date Tue, 23 Sep 2014 06:46:33 GMT
Shri Javadekar created JCLOUDS-727:
--------------------------------------

             Summary: openstack-swift provider's BlobRequestSigner.signPutBlob does not set
payload and content lenght
                 Key: JCLOUDS-727
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-727
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-blobstore
    Affects Versions: 1.8.0
            Reporter: Shri Javadekar
             Fix For: 1.8.1


The BlobRequestSigner.signPutBlob method in the new "openstack-swift" provider does seem to
set the payload and content length. Callers have to explicitly set these on the returned HttpRequest
object.

This is different from at least the "swift-keystone" provider.

HttpRequest returned by the with the "swift-keystone" provider:

Signed put request: {method=PUT, endpoint=http://10.50.23.43:8080/v1/AUTH_abcd/cloud-testing/erwe?temp_url_sig=6418a27f151ce00e044d798e2908bccd8ba9d3ab&temp_url_expires=1411433648,
headers={Expect=[100-continue], ETag=[9c48f2a4023ba27471a8fa259a000fa4, 9c48f2a4023ba27471a8fa259a000fa4],
Content-Type=[application/octet-stream]}, payload=[content=true, contentMetadata=[contentDisposition=null,
contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=application/unknown,
expires=null], written=false]}

HttpRequest returned by the new openstack-swift provider:

Signed put request : {method=PUT, endpoint=https://storage101.iad3.clouddrive.com/     v1/MossoCloudFS_asd/cloud-testing/sfsdfsd?temp_url_sig=99c9676a1c
    ef33ba408b6e35082a056f11a7d717&temp_url_expires=1411454235, headers={}}



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

Mime
View raw message