mary Posted May 19, 2007 Posted May 19, 2007 (edited) Hi !as you know, WinHttp.WinHttpRequest.5.1 did not handle decompression when you ask for a compressed webpage.so my idea is to use external library (Zlib.dll http://www.zlib.net/manual.html#uncompress) but dont know how to do this with dllcall.thinks for any helphere my code:$url="http://www.autoitscript.com" $oHTTP = ObjCreate("WinHttp.WinHttpRequest.5.1") $oHTTP.Open("GET", $url,False) $oHTTP.setRequestHeader("Accept-Encoding" ,"gzip,deflate") ; here i Ask for a compressed webpage $oHTTP.send() $htm=$oHTTP.responseText ; $htm is compresed ;;; need help here to decompress $html ??? (with zlib.dll or any other library (urlmon.dll ?...etc) Edited May 19, 2007 by mary
wakillon Posted February 23, 2011 Posted February 23, 2011 (edited) @fishlesterBetter late than never ! Edited February 26, 2011 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now