Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8415011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:19:16+00:00 2026-06-10T01:19:16+00:00

My Server sends me a JSON data stream which is compressed using GZIP Compression.

  • 0

My Server sends me a JSON data stream which is compressed using GZIP Compression.

When I request this data on the normal IE Browser, I get the data and when I mention the application to open with, The Browser automatically decompresses that data stream and shows me my JSON data.

My C Application is using COM/OLE to embed an IE Browser Instance and I am using WININET for GET/POST operations So here I get the data compressed.

Since its IE Browser Functionality that decompresses the GZIP data automatically in the case of the default IE browser
How can I get the data decrypted automatically via WININET in my C Application?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:19:18+00:00Added an answer on June 10, 2026 at 1:19 am

    Starting Vista, INTERNET_OPTION_HTTP_DECODING flag enables gzip decoding within WinInet:

    INTERNET_OPTION_HTTP_DECODING:

    Enables WinINet to perform decoding for the gzip and deflate encoding schemes. For more information, see Content Encoding.

    When decoding fails, the application has two options: it can remove the Accept-Encoding header and resend the request, or it can set the INTERNET_OPTION_HTTP_DECODING option on the request to false and then resend the request. If the decoding option is set to false, the application must check the Content-Encoding header and perform any decoding at the application level.

    In earlier version of Windows you would have to decompress yourself (which is also reasonably easy using e.g. http://zlib.net/)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using JSON-RPC. When i send request to server i get a response
My back end is my Rails server which sends JSON data to my front
I am able to send data to the server using JSON and get back
The nodejs server 'gets' this JSON stream from Twitter and sends it to the
I'm trying to send the node instance JSON data using an ajax get request
I'm sending some data to an external URL using Curl. The server sends me
Client side sends post request to php on server side. Php returns json to
My code works (yeah!) which sends json to a server.. would appreciate any thoughts
I'm on a page which sends a request to server side for a list
I am trying to send JSON data to a web server via the code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.