On 8 November 2012 04:40, Ludovic Courtès wrote: > scheme@(guile-user)> (use-modules (web client) (web uri)) > scheme@(guile-user)> (http-get (string->uri "http://www.gnu.org/does-not-exist")) > web/http.scm:191:11: In procedure read-header: > web/http.scm:191:11: Bad uri header component: gnu-404.html Some headers are supposed to support these “URI-references”. I have just updated a patch I worked on a while back that adds support for such things, including “partial-refs”. It is not yet ready for inclusion, some points to consider: * DONE (web uri) support for relative-refs * DONE (web http) support for relative-refs in headers * TODO (resolve-ref uri uri-reference) → absolute-uri * TODO documentation * TODO maybe use more scheme-ish names instead of RFC 3986 This latest RFC makes a clear distinction between an actual URI and a reference to such. I thought it best to reflect that distinction, but maybe it does pollute the namespace a bit: - absolute-uri? → uri-absolute? - relative-ref? → uri-relative? * TODO build-uri validation is broken/less strict and will now pass relative-refs, so maybe introduce build-uri-reference instead Anyway, this may provide a useful base to work from, if not something suitable for inclusion almost immediately. Regards