Sign in to follow this  
Followers 0
KarlosTHG

Handle compressed HTTP

7 posts in this topic

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

Share this post


Link to post
Share on other sites



Don't request it and you won't need to handle it.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Don't request it and you won't need to handle it.

ok, but i want to handle it, to save server bandwidth ;)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

This post ProgAndy linked you to shows how to encrypt/decrypt strings with zlib: http://www.autoitscript.com/forum/index.php?showtopic=87284

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0