fix(services/s3): Accept List responses without ETag#3478
fix(services/s3): Accept List responses without ETag#3478Xuanwo merged 3 commits intoapache:mainfrom questdb:s3_list_without_etag
Conversation
I don't think this statement is correct since I'm ok with this patch to allow responses that not contain |
Fair :-) For what it's worth, the official AWS Java client is flexible about this too and doesn't require the |
This allows the S3 logic to accept response for path listings that don't contain the optional
<ETag>xml element.The bug was originally observed when connecting to an S3 compatible server:
s3s-fs(https://crates.io/crates/s3s-fs).I believe s3s-fs's behaviour is correct, given that the AWS S3 request/response docs state that the
Etagfield is optional: https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html.Closes #3477.