1
import module namespace http = "http://expath.org/ns/http-client";
2
declare namespace h = "http://expath.org/ns/http-client";
4
let $req := <h:request method="GET"
5
href="http://www.zorba-xquery.com/http-client/no-type.blub"
7
send-authorization="true"
10
override-media-type="text/html"
12
let $res := http:send-request($req, ())
13
return fn:not(exists($res[1]//*:body))
1
import module namespace http = "http://expath.org/ns/http-client";
2
declare namespace h = "http://expath.org/ns/http-client";
4
local variable $req := <h:request method="GET"
5
href="http://www.zorba-xquery.com/http-client/no-type.blub"
7
send-authorization="true"
10
override-media-type="text/html"
13
local variable $res := http:send-request($req, ());
15
fn:not(exists($res[1]//*:body))