File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3306,8 +3306,6 @@ def get_checksum_header_algorithms(params):
33063306 Returns the a list of algorithm name if a headers starting with "x-amz-checksum-"
33073307 are provided in a request, otherwise returns an empty list.
33083308
3309- Returned lists exclude the x-amz-checksum-algorithm header itself.
3310-
33113309 This function is considered private and subject to abrupt breaking changes or
33123310 removal without prior announcement. Please do not use it directly.
33133311 """
@@ -3318,7 +3316,7 @@ def get_checksum_header_algorithms(params):
33183316 # extract and return the algorithm name.
33193317 for header in headers :
33203318 match = CHECKSUM_HEADER_PATTERN .match (header )
3321- if match and match . group ( 1 ). lower () != 'algorithm' :
3319+ if match :
33223320 checksum_headers .append (match .group (1 ))
33233321 return checksum_headers
33243322
You can’t perform that action at this time.
0 commit comments