path: root/doc
diff options
authorChetan Risbud <>2014-03-04 19:35:24 +0530
committerChetan Risbud <>2014-03-12 06:00:20 -0700
commit1a6b55714fddf7a1b526a31ee3f27589f01e98e5 (patch)
tree8d51f9dfa85e6eb17d1fa214949ed7de9daf8fda /doc
parent47cbf09a228040ea33918a472481f464ef9ad261 (diff)
PUT of a Directory failed
PUT of a directory fails with gluster-swift when there exists object of a same name. This is because the objects and directories are placed on the glusterfs. And hence the filesystem semantics are applicable there. Exceptions raised in such situation are needed to be handled and reported correctly back to proxy-server with HTTPConflict as a error code. Although swift still continues to choose 503 as the best respose in such cases. No tracebacks reported. Fix covers the case when there exists a directory and object of the same name is PUT. Code changes fixes both the failure cases mentioned in the bug. Examples of failing PUT requests: 1) curl -v -X PUT -d'asdasdsadA' -- obj2 was already an object. 2)curl -v -H 'Content-Length: 0' -H 'Content-Type: application/directory' -X PUT -- obj1 was already and object Bug: Change-Id: Id3042d920e3f99e740d4042ef5907ac8c59e04db Signed-off-by: Chetan Risbud <> Reviewed-on: Reviewed-by: Prashanth Pai <> Tested-by: Prashanth Pai <>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions