Skip to content

Commit e70484b

Browse files
SophieGuo410Sophie Guo
andauthored
Support additional internal header (#3157)
* Support additioncal internal header * Add java doc --------- Co-authored-by: Sophie Guo <[email protected]>
1 parent b785458 commit e70484b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ambry-api/src/main/java/com/github/ambry/rest/RestUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,10 @@ public static final class InternalKeys {
551551
* Is the request a head bucket request
552552
*/
553553
public static final String HEAD_BUCKET_REQUEST = KEY_PREFIX + "is-head-bucket-request";
554+
/**
555+
* The key is to help identify get content or get md5. If the value is true, it means get md5 only for a getContent call.
556+
*/
557+
public static final String REQUEST_MD5_ONLY = KEY_PREFIX + "request-md5-only";
554558
}
555559

556560
/**

0 commit comments

Comments
 (0)