Armand Posted January 24, 2010 Posted January 24, 2010 Decompressing HTTP1.1 gzip data ?! Yeah i know there is the zlib udf but how do you use that ?! Any idea anyone ?! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!
Richard Robertson Posted January 24, 2010 Posted January 24, 2010 You realize that you don't have to get the data in compressed format right?
Armand Posted January 24, 2010 Author Posted January 24, 2010 yeah i do ... but what if i really want to ?! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!
Armand Posted January 24, 2010 Author Posted January 24, 2010 @Richard RobertsonThank you so much my man... what would i have done without you... Anyone else got any useful advices maybe ?! Please! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!
Xand3r Posted January 24, 2010 Posted January 24, 2010 maybe you could show what code you have so far? for example how do you get the gzipped data in the first place? Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
Richard Robertson Posted January 24, 2010 Posted January 24, 2010 When you get the data incoming, you just send it right through the GZIP decompressor. There's nothing really to show.
Armand Posted January 25, 2010 Author Posted January 25, 2010 @Xand3r Using Http1.1 request with gzip encoding header... @Richard Robertson Yeah, well... the gzipped data received by http1.1 request doesn't work as a .gz file ... i tried that ... Thanks though. Any other ideas ?! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!
ProgAndy Posted January 25, 2010 Posted January 25, 2010 There is a zlib UDF zlibI think you should use the _Zlib_UncompressBinary function. I'm just unsure how to get the uncompressed size of the data.And here some c++-Code for this task: http://www.haxx.lv/?q=winhttpgzip *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
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