HTTP generates OK response even if file does not exist?

I use code like this to see if a file exists on a server for download:

call h.get (“http://www.myserver.com/somefolder/” +somefilename,3)

Now and then it returns 200 even though there is no file.
How can I check for definite existence?

I use this same feature to determine if a user needs a new version of an app.

s=http.Get(Lowercase(download_site+pgm_name+".ver"),4)

Do you have anything in the ERROR event for your socket?
Although I did just check… (forcing a non-existant filename)… and no error… just S was blank