简体   繁体   English

使用jClouds在Swift上执行批量删除时,“HTTP方法DELETE不支持输出”异常

[英]“HTTP method DELETE doesn't support output” exception when executing a bulk-delete on Swift using jClouds

When trying to execute a bulk-delete for objects in openstack swift using jclouds, we are getting the following exception: 当尝试使用jclouds对openstack swift中的对象执行批量删除时,我们遇到以下异常:

HTTP method DELETE doesn't support output connecting to DELETE http://swift.internal.com:8080/v1/AUTH_312312_321312_3123131_5435/dummyContainer/dummyObject?bulk-delete=true HTTP/1.1

Any thoughts on what could be causing this? 有什么可能导致这个问题的想法?

If you are describing a problem with jclouds, this is a good place to start: 如果您正在描述jclouds的问题,这是一个很好的起点:

http://jclouds.apache.org/documentation/userguide/bug-report/ http://jclouds.apache.org/documentation/userguide/bug-report/

The wire log is very helpful when debugging. 调试时,有线日志非常有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 java.net.ProtocolException:HTTP方法DELETE不支持输出 - java.net.ProtocolException: HTTP method DELETE doesn't support output 删除方法不删除 - Java - Delete method doesn't delete - Java 将URLFetch与Http方法'DELETE'一起使用时,appengine中的Http 400 - Http 400 in appengine when using URLFetch with Http Method 'DELETE' 为什么 post 方法有效时 delete 方法无效? - Why delete method doesn't work when post method does? 使用jclouds和Openstack Swift进行单元测试的瞬态模式不起作用 - Transient mode for unit tests with jclouds and Openstack Swift doesn't work 方法不会从数据库中删除-JPA - Method doesn't delete from database - JPA BST删除方法不会删除插入的第一个节点 - BST delete method doesn't delete the first node inserted 使用元素集合时如何在 JPA 中进行批量删除? - How to do bulk delete in JPA when using Element Collections? 当我尝试从面板中删除形状时,Java repaint() 方法不起作用 - Java repaint() method doesn't work when I try to delete shapes from panel 即使使用级联 = CascadeType.ALL POST/PUT/DELETE 方法时也会出现限制休眠异常 - Getting contraint hibernate exception when POST/PUT/DELETE Method even with using cascade=CascadeType.ALL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM