Comment 2 for bug 1682116

Revision history for this message
Tim Burke (1-tim-z) wrote :

Only works for SLO, not DLO:

$ curl -v http://saio:8090/v1/AUTH_test/c/dlo
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to saio (127.0.0.1) port 8090 (#0)
> GET /v1/AUTH_test/c/dlo HTTP/1.1
> User-Agent: curl/7.35.0
> Host: saio:8090
> Accept: */*
>
< HTTP/1.1 200 OK
< Etag: "b5475dd0366e267565cd45fd086d73dd"
< Content-Length: 8
< Accept-Ranges: bytes
< Last-Modified: Wed, 27 Sep 2017 19:46:13 GMT
< X-Object-Manifest: c/s
< X-Timestamp: 1506541572.66944
< Content-Type: application/x-www-form-urlencoded
< X-Trans-Id: txf36f537bc3fa45c597230-0059cc002b
< X-Openstack-Request-Id: txf36f537bc3fa45c597230-0059cc002b
< Date: Wed, 27 Sep 2017 19:46:51 GMT
<
* Connection #0 to host saio left intact
12345678

$ curl -v http://saio:8090/v1/AUTH_test/c/dlo?multipart-manifest=delete -X DELETE
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to saio (127.0.0.1) port 8090 (#0)
> DELETE /v1/AUTH_test/c/dlo?multipart-manifest=delete HTTP/1.1
> User-Agent: curl/7.35.0
> Host: saio:8090
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: text/plain
< X-Trans-Id: tx74299dce56464280ba2c6-0059cc0042
< X-Openstack-Request-Id: tx74299dce56464280ba2c6-0059cc0042
< Date: Wed, 27 Sep 2017 19:47:14 GMT
< Transfer-Encoding: chunked
<
Number Deleted: 0
Number Not Found: 0
Response Body:
Response Status: 400 Bad Request
Errors:
* Connection #0 to host saio left intact
/c/dlo, Not an SLO manifest

Seems like a legit feature request to me.