KarlosTHG Posted December 11, 2009 Share Posted December 11, 2009 Hi Guys Someone knows how to handle compressed data in a HTTP transfer, the compression method seems to be GZIP and i have read some about GZIP compression of files but not about Strings or binary strings like in this case. So far i have used the HTTP UDF with no problems but this one. thanks for your help Link to comment Share on other sites More sharing options...
trancexx Posted December 11, 2009 Share Posted December 11, 2009 Don't request it and you won't need to handle it. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
KarlosTHG Posted December 13, 2009 Author Share Posted December 13, 2009 Don't request it and you won't need to handle it.ok, but i want to handle it, to save server bandwidth Link to comment Share on other sites More sharing options...
jvanegmond Posted December 14, 2009 Share Posted December 14, 2009 Surprisingly enough, you have to decrypt the encrypted data with GZIP. github.com/jvanegmond Link to comment Share on other sites More sharing options...
ProgAndy Posted December 14, 2009 Share Posted December 14, 2009 I think, a combination of WinHTTP and zlib should work 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 Link to comment Share on other sites More sharing options...
KarlosTHG Posted December 14, 2009 Author Share Posted December 14, 2009 ok thanks but @manadar: yes, i know that but the problem is use gzip with strings @ProgAndy: i thinks so, but i don't know how to use zlib to decompress strings, for now i will try the c++ code. thanks Link to comment Share on other sites More sharing options...
jvanegmond Posted December 14, 2009 Share Posted December 14, 2009 ok thanks but@manadar: yes, i know that but the problem is use gzip with strings@ProgAndy: i thinks so, but i don't know how to use zlib to decompress strings, for now i will try the c++ code.thanksThis post ProgAndy linked you to shows how to encrypt/decrypt strings with zlib: http://www.autoitscript.com/forum/index.php?showtopic=87284 github.com/jvanegmond Link to comment Share on other sites More sharing options...
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