(files "url")
(parent (runtime))
(export ()
- (guarantee-absolute-uri ->absolute-uri)
- (guarantee-relative-uri ->relative-uri)
- (guarantee-uri ->uri)
(url:decode-string decode-component)
(url:match:escape matcher:pct-encoded)
(url:parse:hostport parser:hostport)
char-set:uri-userinfo
encode-uri-path-segment
error:not-partial-uri
- error:not-uri
error:not-uri-authority
error:not-uri-host
error:not-uri-path
error:not-uri-port
error:not-uri-scheme
error:not-uri-userinfo
+ guarantee-absolute-uri
guarantee-partial-uri
+ guarantee-relative-uri
+ guarantee-uri
guarantee-uri-authority
guarantee-uri-host
guarantee-uri-path
(and (uri? object)
(uri-relative? object)))
-(define (error:not-uri object caller)
- (error:wrong-type-argument object "URI" caller))
+(define-guarantee uri "URI")
+(define-guarantee absolute-uri "absolute URI")
+(define-guarantee relative-uri "relative URI")
\f
(define (uri-scheme? object)
(and (interned-symbol? object)