Hi,
GetHTTPHeader() is often used to check if a site answers.
But if not, it stucks. No timeout is implemented.
As temporary fix I created an own version:
http://www.purebasic.fr/english/viewtop ... 13&t=64132
But this should be a standard PB feature.
Bernd
GetHTTPHeader(URL$, Timeout.i=0) optional timeout needed
Re: GetHTTPHeader(URL$, Timeout.i=0) optional timeout needed
...and automatic redirection would be nice, as well.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2