Author: olfen Last Modified: 20060116
Receives all the headers returned by the server or the size of the resource, in bytes or the content type of the resource (such as text/html).
Example output:
HTTP/1.1 200 OK
Date: Mon, 28 Aug 2006 11:04:51 GMT
Server: Apache/2.0.54 (Fedora)
Last-Modified: Sun, 27 Aug 2006 16:52:38 GMT
ETag: "21029b-2ba0-a30ea180"
Accept-Ranges: bytes
Content-Length: 11168
Content-Type: text/html
HttpQueryInfo(URL, QueryInfoFlag=21, Proxy="", ProxyBypass="")
For more details of the functions's parameters and return value, please see it's source code.
It lacks an external documentation. Look for that at head of source.
For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/topic10510.html
nonexistent
; #Include HttpQueryInfo.ahk #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% url1 = http://www.autohotkey.com url2 = http://www.autohotkey.com/download/AutoHotkeyInstall.exe MsgBox % HttpQueryInfo(url1) MsgBox % HttpQueryInfo(url2, 5) MsgBox % HttpQueryInfo(url2, 1)