add comment
This commit is contained in:
parent
a44c53bc67
commit
0c7c957f2b
|
@ -251,6 +251,10 @@
|
|||
|
||||
;;; Unparse a http-url record into its corresponding Request_URI
|
||||
|
||||
;;; The following holds (apart from multiple slashes in the path,
|
||||
;;; which are removed by url-string->http-url):
|
||||
;;; (http-url->url-string (url-string->http-url <request-uri-string>)) == <request-uri-string>
|
||||
|
||||
(define (http-url->url-string http-url)
|
||||
|
||||
(let* ((host (http-url-host http-url))
|
||||
|
@ -280,7 +284,8 @@
|
|||
|
||||
(string-append scheme-and-host-string port-string path-string query-string)))
|
||||
|
||||
;;; Unparse the http-url-path field of an http-url record into its corresponding part of the Request_URI
|
||||
;;; Unparse the http-url-path field of an http-url record into its
|
||||
;;; corresponding part of the Request_URI
|
||||
|
||||
(define (http-url-path->path-string http-url-path)
|
||||
(fold-right
|
||||
|
|
Loading…
Reference in New Issue