Skip to content

Commit

Permalink
JCLOUDS-948: Swift Cache-Control support
Browse files Browse the repository at this point in the history
Not supported.
  • Loading branch information
gaul committed Jan 15, 2016
1 parent f292408 commit b63f74a
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -16,6 +16,7 @@
*/
package org.jclouds.openstack.swift.v1.blobstore.integration;

import static org.assertj.core.api.Assertions.assertThat;
import static org.jclouds.openstack.keystone.v2_0.config.KeystoneProperties.CREDENTIAL_TYPE;

import java.util.Properties;
Expand Down Expand Up @@ -68,6 +69,14 @@ protected int getIncorrectContentMD5StatusCode() {
return 422;
}

// not supported
@Override
protected void checkCacheControl(Blob blob, String cacheControl) {
assertThat(blob.getPayload().getContentMetadata().getCacheControl()).isNull();
assertThat(blob.getMetadata().getContentMetadata().getCacheControl()).isNull();
}

// not supported
@Override
protected void checkContentLanguage(Blob blob, String contentLanguage) {
assert blob.getPayload().getContentMetadata().getContentLanguage() == null;
Expand Down

0 comments on commit b63f74a

Please sign in to comment.