#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.624 2007/08/10 18:09:18 cph Exp $
+$Id: runtime.pkg,v 14.625 2007/08/10 19:07:13 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
uri-path-relative?
uri-path?
uri-port?
+ uri-prefix
uri-query
uri-relative?
uri-rexp:absolute-uri
#| -*-Scheme-*-
-$Id: url.scm,v 1.51 2007/01/17 21:01:59 cph Exp $
+$Id: url.scm,v 1.52 2007/08/10 19:07:14 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(vector-ref v 2)
(vector-ref v 3)
(vector-ref v 4)))
+
+(define (uri-prefix prefix)
+ (guarantee-utf8-string prefix 'URI-PREFIX)
+ (lambda (suffix)
+ (guarantee-utf8-string suffix 'URI-PREFIX)
+ (string->absolute-uri (string-append prefix suffix))))
\f
(define parser:uri
(*parser