javaswift / joss

Java library for OpenStack Storage, aka Swift
http://javaswift.org
117 stars 108 forks source link

About joss deals with http response status code #100

Open lsqworld opened 8 years ago

lsqworld commented 8 years ago

I build a swift-like program. When use joss to connect with it, (eg, a PUT container reqeust), my program returned 204, but joss says: 2016-04-01 09:45:19,365 ERROR [org.javaswift.joss.command.impl.core.AbstractCommand] - JOSS / HTTP PUT call http://127.0.0.1:8080/v1/AUTH_41ef2457768342869cb6deaf27579ff4/swiftStoreTestContainer, HTTP status 204, Error UNKNOWN

It seems like joss only deals with 201. The Openstack Object Storage api cleared more than one status code for one request, (eg, 201 and 204 for PUT container). Would you like to deal with this scence?