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

  • Home
  • SEARCH
  • 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 4024234
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:41:47+00:00 2026-05-20T10:41:47+00:00

UPDATE Feb 10 2012: zOompf has completed some very thorough research on this very

  • 0

UPDATE Feb 10 2012:

zOompf has completed some very thorough research on this very topic here. It trumps any findings below.


UPDATE Sept 11 2010:

A testing platform has been created for this here


HTTP 1.1 definitions of GZIP and DEFLATE (zlib) for some background information:

” ‘Gzip’ is the gzip format, and ‘deflate’ is the zlib format. They
should probably have called the second one ‘zlib’ instead to avoid
confusion with the raw deflate compressed data format. While the HTTP
1.1 RFC 2616 correctly points to the zlib specification in RFC 1950
for the ‘deflate’ transfer encoding, there have been reports of
servers and browsers that incorrectly produce or expect raw deflate
data per the deflate specification in RFC 1951, most notably
Microsoft products
. So even though the ‘deflate’ transfer encoding using the
zlib format would be the more efficient approach (and in fact exactly
what the zlib format was designed for
), using the ‘gzip’ transfer
encoding is probably more reliable due to an unfortunate choice of
name on the part of the HTTP 1.1 authors.” (source: http://www.gzip.org/zlib/zlib_faq.html)

So, my question: if I send RAW deflate data with NO zlib wrapper (or gzip,
for that matter) are there any modern browsers (e.g., IE6 and up, FF,
Chrome, Safari, etc) that can NOT understand the raw deflate
compressed data (assuming HTTP request header “Accept-Encoding” contains “deflate”)?

Deflate data will ALWAYS be a few bytes smaller than GZIP.

If all these browsers can successfully decode the data, what
downsides are there to sending RAW deflate instead of zlib?

UPDATE Sept 11 2010:

A testing platform has been created for this here

  • 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-20T10:41:48+00:00Added an answer on May 20, 2026 at 10:41 am

    UPDATE: Browsers have been dropping support for raw deflate. zOompf has completed some very thorough research on this very topic here. Unfortunately, it appears that raw deflate is NOT safe to use.


    Check http://www.vervestudios.co/projects/compression-tests/results for more results.


    Here are the browsers that have been tested:

    /*  Browser                       DEFLATE      ZLIB     */
        XP Internet Explorer 6        PASS         FAIL
        XP Internet Explorer 7        PASS         FAIL
        XP Internet Explorer 8        PASS         FAIL
        Vista Internet Explorer 8     PASS         FAIL
        XP Firefox 3.6.*              PASS         PASS
        XP Firefox 3.5.3              PASS         PASS
        XP Firefox 3.0.14             PASS         PASS
        Win 7 Firefox 3.6.*           PASS         PASS
        Vista Firefox 3.6.*           PASS         PASS
        Vista Firefox 3.5.3           PASS         PASS
        XP Safari 3                   PASS         PASS
        XP Safari 4                   PASS         PASS     
        XP Chrome 3.0.195.27          PASS         PASS
        XP Opera 9                    PASS         PASS
        XP Opera 10                   PASS         PASS
        XP Sea Monkey 1.1.8           PASS         PASS
        Android 1.6 Browser (v4)*     N/A          N/A
        OS-X Safari 4                 PASS         PASS
        OS X Chrome 7.0.517.44        PASS         PASS
        OS X Opera 10.63              PASS         PASS
        iPhone 3.1 Safari             PASS         PASS
    

    * Android Sends HTTP request header “Accept-Encoding: gzip”. Deflate is not permitted.

    I conclude that we can always send raw DEFLATE (when the HTTP request header “Accept-Encoding” contains “deflate”) and the browser will be able to correctly interpret the encoded data. Can someone prove this wrong?

    note: .NET’s native implementation of DEFLATE (System.IO.Compression.DeflateStream) is raw DEFLATE. It also sucks. Please use zlib.net for all of your .NET deflating needs.

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

Sidebar

Related Questions

Update Sir this is current code of my web page.I made changes according to
Update: Check out this follow-up question: Gem Update on Windows - is it broken?
Update: giving a much more thorough example. The first two solutions offered were right
Update : Looks like the query does not throw any timeout. The connection is
I have a website that has an update query. Example. Table name -> myTable
UPDATE: Sorry, forgot to include some of the code (face-palm). I included it in
UPDATE The second after I posted this question, thanks to the syntax highlighting of
Update: This may not be Pairing. This may just need to have a service
I'm not even sure if this is possible or not, but here's what I'd
Update : I found the solution by removing v.setFocusable(true); v.setClickable(true); in the code and

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.