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 7672587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:19:14+00:00 2026-05-31T16:19:14+00:00

Is there a command-line tool that could tell me if Gzip is on? What

  • 0

Is there a command-line tool that could tell me if Gzip is on? What I’m looking for is something that can say the stream coming from the server is really gzipped even if the header params say Gzip:1 (which it could be falsely placing in the headers).

I don’t see a switch in curl, or wget, or tcpdump, or anything, but maybe I’m just missing something, or perhaps there is something else that could provide me this bit of information? Any help would be appreciated.

  • 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-05-31T16:19:15+00:00Added an answer on May 31, 2026 at 4:19 pm

    This shows Content-Encoding: gzip indicating compressed data. The data was then in gzip format, otherwise there would have been an error.

    $ curl --compressed -v http://zlib.net > /dev/null
    
    * About to connect() to zlib.net port 80 (#0)
    *   Trying 69.73.181.135... connected
    * Connected to zlib.net (69.73.181.135) port 80 (#0)
    > GET / HTTP/1.1
    > User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
    > Host: zlib.net
    > Accept: */*
    > Accept-Encoding: deflate, gzip
    > 
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 200 OK
    < Date: Tue, 20 Mar 2012 23:19:00 GMT
    < Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
    < Last-Modified: Mon, 06 Feb 2012 03:46:25 GMT
    < ETag: "29603b0-84b4-4b84381b0a640"
    < Accept-Ranges: bytes
    < Vary: Accept-Encoding,User-Agent
    < Content-Encoding: gzip
    < Content-Length: 9508
    < Content-Type: text/html
    < 
    { [data not shown]
    100  9508  100  9508    0     0  24955      0 --:--:-- --:--:-- --:--:-- 50574* Connection #0 to host zlib.net left intact
    
    * Closing connection #0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a command line tool that is able to search docx file under
I have read that one could use the class dump command line tool to
Is there a (Linux or Windows) command line tool that is able to create
In a WinForm application that calls a third-party command line tool, there may be
There is any command line or .NET method that runs a process in the
Is there (somewhere) a command-line program for Windows which will create PNG/JPEG visual from
Is there a set of command-line options that will convince gcc to produce a
Is there any API or command-line able to generate a VSTemplate file from a
I'm developing a tool that accesses SVN by running the command line SVN to
I see here: http://www.pgrs.net/2008/1/11/command-line-clipboard-access that there's a way in linux and osx to copy

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.