> @@ -45,7 +47,14 @@ public SwiftObject apply(Blob from) {
> return null;
> SwiftObject object =
> objectProvider.create(blob2ObjectMd.apply(from.getMetadata()));
> object.setPayload(checkNotNull(from.getPayload(), "payload: " + from));
> - object.setAllHeaders(from.getAllHeaders());
> +
> + Multimap<String, String> headers = from.getAllHeaders();
> + // let Swift determine the content type...
> + if
> (from.getMetadata().getContentMetadata().getContentType().equals("application/unknown"))
> {
Make this a constant (is it perhaps already a constant somewhere)? And do we
need a case-insensitive comparison here?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/338/files#r11321333