diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-07-07 22:17:37 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-07-07 22:17:37 +0200 |
commit | 2bbc55e43d0890a5696c5631c050a1d709c625b0 (patch) | |
tree | 2e879775f557a7fdf73c601a9e890db2df9777b2 /aws | |
parent | 3a22f203fa32146ed597557e93338606a333e5da (diff) |
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.
Diffstat (limited to 'aws')
-rw-r--r-- | aws/request.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |