Quote eTag header

Found with Ceph s3-tests.  References #5.
pull/16/head
Andrew Gaul 2014-07-28 22:04:56 -07:00
rodzic 3edd5712aa
commit 55484a4f6b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -508,7 +508,7 @@ final class S3ProxyHandler extends AbstractHandler {
}
try {
String eTag = blobStore.putBlob(containerName, builder.build());
response.addHeader(HttpHeaders.ETAG, eTag);
response.addHeader(HttpHeaders.ETAG, "\"" + eTag + "\"");
} catch (HttpResponseException hre) {
// TODO: emit hre.getContent() ?
return hre.getResponse().getStatusCode();