Skip to content

Commit

Permalink
Filter for x-amz headers
Browse files Browse the repository at this point in the history
  • Loading branch information
daddykotex committed Apr 23, 2024
1 parent 295afb7 commit 6664d75
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ private[aws] object AwsSigning {
.mkString("&")

val amzHeaders: List[(CIString, String)] = request.headers.headers
.filter(_.name.toString.toLowerCase.startsWith("x-amz"))
.map(h => (h.name, h.value))
.filterNot(_._2 == null)

Expand Down

0 comments on commit 6664d75

Please sign in to comment.