Unzip string (HTML content) in visual basic

When you request a website with the header

"Content-Encoding: gzip"

The website can return with the header

"Accept-Encoding: gzip,deflate"

And proceed to send the HTML content compressed using gzip. I already have a project that retrieves HTML content from websites, but I need to be able to unzip the gzipped content into readable HTML. There are several utilities out there to unzip a file, however I want to unzip this content without using a file - Id like to unzip it within the program, unzip the content that is stored in a string.

There are lots of resources out there that you can use to make this happen, so it should not be a difficult thing. It can be done in any language (except .NET) providing it is FAST and that I can use the function to unzip the string via a dll or something.

This is how your function should look (pseudocode):

Function unZip (inString as String) as String

'Your Code Here that takes inString which is zipped HTML, checks it to ensure the data is not corrupt or anything, and output the uncompressed version of that string

End Function

my code: unzippedString = unZip(theHTMLcontentThatIsZippedWithGzip)

An example of the server response that needs to be unzipped is attached.

Skills: C Programming, Data Processing, Visual Basic

See more: unzip string, string unzip, vb6 gzip string, vb6 unzip file, unzip gzip string, deflate string visual basic, data compression strings vb6, unzip, unzip vba, vba gzip, string gzip, unzip visual basic, gzip unzip string, visual basic unzip, string html content, to string, string the, string i, html program code, how to string, how to make a website using html, header corrupt, corrupt header, basic website html code, content encoding gzip

About the Employer:
( 29 reviews ) NY, Canada

Project ID: #246335

Awarded to:


There is an already ready solution on C.

$150 USD in 5 days
(8 Reviews)

5 freelancers are bidding on average $160 for this job


Hi. I have much experience in this same task. Please let me do it for you. More details, please send PM. Thanks

$200 USD in 5 days
(58 Reviews)

Please check the PMB

$230 USD in 1 day
(1 Review)

No problem i can help you on this problem

$100 USD in 1 day
(2 Reviews)

Please see the PM.

$200 USD in 7 days
(0 Reviews)

We have already implemented gzip data compression/decompression in our HTTP data communication application. Please check PM

$150 USD in 5 days
(0 Reviews)