[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-uri-reference, created. v2.1.0-90-
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-uri-reference, created. v2.1.0-90-g81f61a6 |
Date: |
Wed, 15 Oct 2014 09:52:13 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=81f61a615ff8c5c5d6e270c255c15eb164f3456c
The branch, wip-uri-reference has been created
at 81f61a615ff8c5c5d6e270c255c15eb164f3456c (commit)
- Log -----------------------------------------------------------------
commit 81f61a615ff8c5c5d6e270c255c15eb164f3456c
Author: Andy Wingo <address@hidden>
Date: Wed Oct 15 11:49:41 2014 +0200
web: Location header is URI-reference; better URI-reference support
* module/web/uri.scm (validate-uri): Add reference? keyword argument,
for validating references.
(build-uri): Clarify comments to indicate that the result is an
absolute URI.
(build-uri-reference): New interface, to build URI-references.
(string->uri-reference): Rename from string->uri*. Fix fragment
parsing to not include the #.
(string->uri): Adapt to string->uri-reference name change.
* module/web/request.scm (request-absolute-uri): Add default-scheme
optional argument. Use it if the request-uri has no scheme, or
error.
* module/web/http.scm (write-uri): Reflow to use "when". Fix writing of
URI-reference instances.
(declare-uri-reference-header!): Rename from
declare-relative-uri-header!. Use string->uri-reference.
("Location"): Declare as a URI-reference header, as per RFC 7231.
* module/web/client.scm (open-socket-for-uri): Handle the case in which
there is no URI scheme.
* test-suite/tests/web-http.test:
* test-suite/tests/web-uri.test: Add tests.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-uri-reference, created. v2.1.0-90-g81f61a6,
Andy Wingo <=