From 2bbc55e43d0890a5696c5631c050a1d709c625b0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Jul 2020 22:17:37 +0200 Subject: aws/request: make-operation->request: Use lowercase for authorization. When we use the symbol 'Authorization as the name of the header, Guile complains "Bad request: Bad value for header Authorization". We don't want or need Guile to make this judgement. By using 'authorization we avoid this problem. * aws/request.scm (make-operation->request)[new-headers]: Use lowercase for authorization header name. --- aws/request.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aws') diff --git a/aws/request.scm b/aws/request.scm index d7e0822..a88195f 100644 --- a/aws/request.scm +++ b/aws/request.scm @@ -240,7 +240,7 @@ ;; signed-headers values, as noted earlier. Order here is not ;; significant. (define new-headers - (cons `(Authorization . ,authorization-header) + (cons `(authorization . ,authorization-header) (filter cdr headers))) (call-with-values -- cgit v1.2.3