You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/18 04:46:33 UTC
[jira] [Commented] (JCLOUDS-1080) Swift container list call must
explicitly specify JSON
[ https://issues.apache.org/jira/browse/JCLOUDS-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200947#comment-15200947 ]
ASF subversion and git services commented on JCLOUDS-1080:
----------------------------------------------------------
Commit 7d2f1e8b4d83e7ed2b520e635acdb6ef2cf561d7 in jclouds's branch refs/heads/master from IgnacioCalvo
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=7d2f1e8 ]
JCLOUDS-1080: Force JSON format for requests
Also make all fields optional.
> Swift container list call must explicitly specify JSON
> ------------------------------------------------------
>
> Key: JCLOUDS-1080
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1080
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-blobstore
> Affects Versions: 1.9.2
> Reporter: Zack Shoylev
> Priority: Minor
> Fix For: 2.0.0
>
>
> https://stackoverflow.com/questions/35439056/jclouds-and-openstack-illegalstateexception-expected-begin-array-but-was-stri
> https://github.com/jclouds/jclouds/blob/master/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/features/ContainerApi.java
> https://wiki.openstack.org/wiki/MetadataSearchAPI#Output_formats
> http://developer.openstack.org/api-ref-objectstorage-v1.html
> The container list calls, in addition to the header "Accept: application/json" (which seems to be sufficient for some providers) are required by the spec to also send ?format=json in the URL. Not doing that seems to cause issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)