[FIXED] [1.2] GZip

  1. #1

    [FIXED] [1.2] GZip

    Dear

    Maybe this is not a real bug , but just to let you know the problem we encountered using the Ext.Net framework:
    We have an application which is doing ajax requests to the server. The server is returning a DirectResponse, StoreResponseData or Response.
    We had clients who were doing requests that didn't accept the gzip encoding. As a result, those clients got an error as the DirectResponse, StoreResponseData and Response data are returning GZip-compressed data.
    So we had to do a quickfix and check whether Gzip was supported (CompressionUtils.IsGZipSupported), and if not supported return non-compressed data.

    Kind Regards
    Last edited by Daniil; Nov 18, 2011 at 10:38 AM. Reason: [FIXED] [1.2]
  2. #2
    Hi,

    Thanks for notifying us of this issue. I'd consider this a defect, so we'll implement the gzip check as well.
    Geoffrey McGill
    Founder
  3. #3
    Hi,

    Vladimir has already fixed it in v2 this way:

    Ext.Net.Utilities\Web\CompressionUtils.cs

    public static void GZipAndSend(byte[] instance, string responseType)
    {
        if (CompressionUtils.IsGZipSupported)
        {
            CompressionUtils.Send(CompressionUtils.GZip(instance), responseType);
        }
        else
        {
            CompressionUtils.Send(instance, responseType);
        }
    }
    I'm going to add this fix for v1 as well.
  4. #4
    The bug ticket has been created.
    https://extnet.lighthouseapp.com/pro...gs/tickets/223

    The fix has been added to SVN, revision #3777.

    The fix will be also available with the upcoming 1.3 release.

Similar Threads

  1. [CLOSED] Ext.Net Compression Utils bug with non Gzip support
    By anup in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 20, 2012, 12:20 PM
  2. [CLOSED] About Gzip Compression
    By nirajrdave in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 23, 2011, 2:12 PM
  3. [CLOSED] [0.8.2] IE6 and Gzip
    By sidinwillis in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 19, 2010, 7:32 AM
  4. [FIXED] [V0.7] UpdatePanel
    By Timothy in forum Bugs
    Replies: 14
    Last Post: Dec 29, 2008, 6:40 AM
  5. [FIXED] [V0.7] Bug in gridpanel?
    By Jurke in forum Bugs
    Replies: 2
    Last Post: Dec 02, 2008, 5:06 AM

Posting Permissions