tustvold commented on code in PR #6768:
URL: https://github.com/apache/arrow-rs/pull/6768#discussion_r1854018350


##########
object_store/src/aws/credential.rs:
##########
@@ -101,11 +101,14 @@ pub struct AwsAuthorizer<'a> {
     region: &'a str,
     token_header: Option<HeaderName>,
     sign_payload: bool,
+    request_payer: bool,
 }
 
 static DATE_HEADER: HeaderName = HeaderName::from_static("x-amz-date");
 static HASH_HEADER: HeaderName = 
HeaderName::from_static("x-amz-content-sha256");
 static TOKEN_HEADER: HeaderName = 
HeaderName::from_static("x-amz-security-token");
+static REQUEST_PAYER_HEADER: HeaderName = 
HeaderName::from_static("x-amz-request-payer");
+static REQUEST_PAYER_HEADER_VALUE: HeaderValue = 
HeaderValue::from_static("requester");

Review Comment:
   Are there other values for this header? Wondering if it should be an 
enumeration instead of a boolean?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to