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