Does the jclouds s3 API support "307 temporary redirect" in response to a PUT with header Expect: 100-continue?

91 views Asked by At

Results in our testing suggest the redirect is not supported, although other clients e.g. curl & s3cmd do. Redirect should be supported per https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTRedirect.html#RESTRedirect100Continue. Pointers confirming support or lack of support in jclouds source would be of value.

1

There are 1 answers

0
Y. Pablo Camacho On BEST ANSWER

S3RedirectionRetryHandler handles 301 and 307.

jclouds support the 307 redirect. All 3xx response codes are intercepted here, then processed, by default (unless a provider defines its own redirection retry handler) here.