aws/request: Overwrite (web http)'s DEFAULT-VAL-WRITER.
authorRicardo Wurmus <rekado@elephly.net>
Tue, 7 Jul 2020 18:19:56 +0000 (20:19 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Tue, 7 Jul 2020 18:19:56 +0000 (20:19 +0200)
commit748cff67d89dab59799244d648598c1c8eafa223
tree0ab26bae780fdd82ffb095369854778ef08edff4
parent061cd2b037df1d817c5babc904c2c7794e327a8f
aws/request: Overwrite (web http)'s DEFAULT-VAL-WRITER.

The DEFAULT-VAL-WRITER procedure in Guile's (web http) module causes
values in headers to be quoted when they contain a semicolon.

The Authorization header that AWS expects contains a field
SignedHeaders whose value is a semicolon-separated list of header
names.  When this list is quoted AWS considers the opening quote
character to be part of the name of the first header and the closing
quote character to be part of the name of the last header.

* aws/request.scm (my-default-val-writer): New procedure; replace the
definition of DEFAULT-VAL-WRITER in Guile's (web http).
aws/request.scm