parent
5ffe007f5c
commit
e6a0caa147
|
@ -399,10 +399,8 @@
|
||||||
(provide (struct-out url) (struct-out path/param))
|
(provide (struct-out url) (struct-out path/param))
|
||||||
|
|
||||||
(provide/contract
|
(provide/contract
|
||||||
(string->url (-> (and/c string?
|
(url-regexp regexp?)
|
||||||
(or/c #rx"^[a-zA-Z][a-zA-Z0-9+.-]*:"
|
(string->url (-> (and/c string? url-regexp) url?))
|
||||||
(not/c #rx"^[^:/?#]*:")))
|
|
||||||
url?))
|
|
||||||
(path->url ((or/c path-string? path-for-some-system?) . -> . url?))
|
(path->url ((or/c path-string? path-for-some-system?) . -> . url?))
|
||||||
(relative-path->relative-url-string ((and/c (or/c path-string? path-for-some-system?)
|
(relative-path->relative-url-string ((and/c (or/c path-string? path-for-some-system?)
|
||||||
relative-path?)
|
relative-path?)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user