Jump to content

Handle compressed HTTP


 Share

Recommended Posts

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

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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...