adapt URI-HAS-PROTOCOL? to new URL parser
This commit is contained in:
@@ -287,9 +287,9 @@
|
||||
(copy-inport->outport script-port out)))))
|
||||
|
||||
(define (uri-has-protocol? loc)
|
||||
(receive (proto path search frag)
|
||||
(parse-uri loc)
|
||||
(if proto #t #f)))
|
||||
(receive (host port path query)
|
||||
(parse-url loc)
|
||||
(if host #t #f)))
|
||||
|
||||
(define (extract-status-code-and-text status req)
|
||||
(with-fatal-error-handler*
|
||||
|
||||
Reference in New Issue
Block a user