wait, it occurs to me that HEAD will only return the response headers containing the information you need. when you run okhttputils2, it assumes you're expecting a payload (some kind of file). there is no payload with HEAD, just the headers, so okhttputils2 shows nothing, giving the impression it isn't working. you have to specifically ask for the headers. i'll put something together for you, unless someone else beats me to it. HEAD is the only way you can if some resource is on the server without actually downloading it. that's the way to go.