basho/riak_cs — pull request #527 by shino (2013-04-09 07:54:24+00:00)
Title: Trailing slash of object is deleted in path style

After putting object `dir1/`, getting `dir1/` responds 200 and getting `dir1` also responds 200.

```
$ s3curl.pl --id local_rcs \
-- -s -v -x localhost:8080 \
-X PUT \
-H 'Content-Length: 0' \
http://s3.amazonaws.com/test/dir1/

$ s3curl.pl --head --id local_rcs -- -s -x 127.0.0.1:8080 'http://s3.amazonaws.com/test/dir1/'
HTTP/1.1 200 OK
Server: Riak CS
Last-Modified: Tue, 09 Apr 2013 05:27:01 GMT
ETag: "d41d8cd98f00b204e9800998ecf8427e"
Date: Tue, 09 Apr 2013 05:27:15 GMT
Content-Type: application/octet-stream
Content-Length: 0

$ s3curl.pl --head --id local_rcs -- -s -x 127.0.0.1:8080 'http://s3.amazonaws.com/test/dir1'
HTTP/1.1 200 OK
Server: Riak CS
Last-Modified: Tue, 09 Apr 2013 05:27:01 GMT
ETag: "d41d8cd98f00b204e9800998ecf8427e"
Date: Tue, 09 Apr 2013 05:27:19 GMT
Content-Type: application/octet-stream
Content-Length: 0

```