add comment on uri-parser
This commit is contained in:
parent
53e3e9672f
commit
649f374e8b
|
@ -12,12 +12,18 @@
|
|||
;;; - http://www.w3.org/Addressing/rfc1630.txt
|
||||
;;; Original RFC
|
||||
;;; - http://www.w3.org/hypertext/WWW/Addressing/URL/URI_Overview.html
|
||||
;;; General Web page of URI pointers.
|
||||
;;; General Web page of URI pointers.
|
||||
|
||||
(define uri-reserved (string->char-set ";/#?: ="))
|
||||
|
||||
(define uri-reserved-sans-= (char-set-delete uri-reserved #\=))
|
||||
|
||||
;;; Note: this "uri-parser" has never been adapted to RCF 2396
|
||||
;;; (Uniform Resource Identifiers: Generic Syntax)
|
||||
;;; It is rather useless by now since it's hard to determine
|
||||
;;; exactly which subset of RFC 2396's URIs it works for
|
||||
;;;(plus the subset it works for is a rather arbitrary one).
|
||||
|
||||
(define (parse-uri s)
|
||||
(let* ((slen (string-length s))
|
||||
;; Search forwards for colon (or intervening reserved char).
|
||||
|
|
Loading…
Reference in New Issue