| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This fixes authentication, which was broken by commit
5b53bf56761a765efb0012aa6f10d854d8dfa9eb. Sorry.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* aws/request.scm (make-operation->request): Break out two new
procedures, namely...
(sign-headers, compute-signature): ...these new procedures.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aws/api/route53-2013-04-01.normal.json: New API file.
* Makefile.am (JSON_SOURCES): Add it.
* aws/base.scm (aws-operation): Pass xml-namespace to requester.
* aws/request.scm (request-xml-string): New procedure.
(make-operation->request): Accept xml-namespace key.
[host]: Use globalEndpoint if provided.
[request-parameters]: Use request-xml-string for rest-xml protocol.
* aws/serialize.scm (aws-value->sxml): New procedure.
* language/aws/spec.scm (compile-operation): Pass xml-namespace to
aws-operation.
|
| |
|
|
|
|
|
| |
This is necessary to remove unnecessary nesting when serializing
wrappers around primitive types.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* aws/request.scm (make-operation->request): Remove match expression.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request): Send HTTP request to full
URI, not just the endpoint domain.
|
|
|
|
|
| |
* aws/request.scm (parameterize-request-uri): New procedure.
(make-operation->request)[canonical-uri]: Use it.
|
|
|
|
|
| |
* aws/request.scm (input-arguments->scm): New procedure.
(request-json-string): Use it.
|
| |
|
| |
|
|
|
|
| |
* aws/request.scm (request-query-string): New procedure.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request): Inspect content-type of
server response.
|
|
|
|
|
| |
* aws/request.scm: Declare a new authorization header with a writer
that does not quote values.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Don't just use POST; use whatever method the API operation requires.
Only add a request body for POST requests.
* aws/request.scm (make-operation->request): Use HTTP-REQUEST instead
of HTTP-POST.
|
|
|
|
|
|
|
| |
The x-amz-content-sha256 is required for S3.
* aws/request.scm (make-operation->request)[headers]: Add
x-amz-content-sha256 header.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request)[request-parameters]:
Gracefully deal with empty input values.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request)[payload-hash]: New
variable definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|