Any way to change the Accept-Encoding in apache/jsp?

I have a jsp page which needs to not be delivered using gzip compression and currently my apache is configured to compress any text content. IS there anyway to diable the gzip encoding through a request, or response command OR an directive at the top of the jsp page?
the browser sends "Accept-Encoding: gzip" by default which causes the apache to compress the content that is returned.
Any help would be appreciated...thanks!

ok got it ...The solution doesnt involve any java/jsp but basically i excluded those pages from being gzipped in the <ifmodule> statement in the httpd.conf for apache:
SetEnvIfNoCase Request_URI \
(test1|test2)\.(?:jsp)$ no-gzip dont-vary
It took me a while to get here since I thought initially it was a problem wiht out.flush() not working properly.
The reason why I want to do it is because I have a backend process that takes sometime to return completely and in the meantime i want to show the part of the page that has partially loaded. Its more involved than the example page that I showed you and is somewhat resistant to reworking but it is the same principal .
Thanks for all your help!

Similar Messages

  • Is there any way to change the default font for outgoing text-messages, in "Messages"? (OSX 10.10)

    Is there any way to change the default font for outgoing text-messages, in "Messages"?
    I can change it for one conversation, but then it resets to the default, tiny font.
    The preferences menu only lets me change the conversation font.
    (OSX 10.10)

    Hi,
    As you may remember there used to be a Messages pane to the Preferences where the Font and colour of the Balloons or background and the Font text colour could be changed.
    And there was a Format Menu for character, word and Sentence changes in the current IM or iMessage.
    Those have gone in Yosemite's version of Messages (Despite it retaining the designation of Messages 8 the same as Mavericks' version).
    All that can be done now is set the size of the font and this has been moved to the General Section of the Preferences.
    The Yosemite version has also been fixed to using the Balloons style of send and receiving any type of messages as well.
    Changing the Font would involved editing the Balloon.transcript file.
    10:34 pm      Saturday; December 13, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Is there any way to change the security on multiple pdfs without having to open each pdf in acrobat ?

    Hi all
    Is there any way to change the security on multiple pdfs without having to open each pdf in acrobat ?

    Hi Gilad
    Thanks for the reply
    I'm not sure how to create an action I have Acrobat Pro 8.
    My company would love if I could make it as a batch file or some exe so that each file doesn't have to be opened in Acrobat

  • Any way to change the order??

    I created a slide show with the 5.0 theme Portfolio, and in the midst of creating this the original page with the title and the portfolio on it only shows up after the slide show when I play it. Ive tried to just drag and drop it in front of the slide show but it wont work. Is there anything I can do other then start all over again?

    Is there any way to change the order of the items in the Files Inspector?
    Yes, but it must be done on a site-by-site basis.
    In the Site Definition dialog box, select File View Columns. You can control the position and display of columns there. The only one that can't be changed is Name.

  • HT4528 Is there any way to change the contact email?

    Is there any way to change the contact email? I had deleted my contact email without even a thought about my Apple ID. Any suggestions?
    <Re-Titled By Host>

    Without being able to login with the Apple ID credentials, it is not possible to change the recovery email address.  This is called security and prevents others from forcibly changing your Apple ID password and taking over the account.
    Options are either remember the security answers or fix access issues with the recovery email account.

  • Bcc: Is there any way to change the "undisclosed recipients" text ?

    Bcc: Is there any way to change the "undisclosed recipients" text appearing on the message at destination when I used Bcc?...
    Eudora offers the possibility to choose the text that appears when using Bcc.
    Does Mail do the same?...
    If yes, how?...
    Thanks
    sergio

    Every message that I send with addresses ONLY in Bcc:, when is received by others, or when I receive it back from some yahoo group, has the reading: "undisclosed recipients"...which I can see either when I receive an answer from some individual or when I receive the messages from the group.
    Of course, if I write any address in the "To:" space, what comes out is the address I type.
    My question was something else: HOW to CHANGE what comes out.
    In Eudora it is possible to have ANYTHING one wishes appearing INSTEAD of the "undisclosed recipients", it's enough to type a code inside the message once, and choose the text one wishes to appear.

  • Is there any way to change the restrictions passcode?

    Is there any way to change the restrictions passcode short of erasing all content and starting over?

    Remove restriction password
    1. Restore to Factory Default
    2. You can also restore from a backup before you enable the Restriction Code

  • Is there any way to change the web dynpro Appl. description at runtime

    Hi All,
    Is there any way to change the description of the Web dynpro Application at runtime.
    Thanks,
    Arti.

    There is an API to change the application description at runtime, but it will be new in NetWeaver 7.0 Enhancement Package 2 (so you probably don't have access to it yet). For the future here is a sample of the API:
    wd_this->wd_get_api( )->get_component( )->get_application( )->set_window_title( lv_window_title ).

  • Is there any way to change the codec of an itunes movie?, is there any way to change the codec of an itunes movie?

    i just got a pair of mobile theatre glasses, and when i tried to download a movie from itunes onto it it said "file not supported", is there any way to change the codec of movies on itunes to mpeg2?

    Suggestions to Apple will be best submitted through the iTunes feedback page. Your comments will be most likely to get to the proper people within Apple that way.
    Regards.

  • Is there any way to change the type of Transport like workbench to Customiz

    Hi All,
    Here we are having very silly question.
    Is there any way to change the type of Transport like from
    Workbench to Customize and from Customize to Workbench within the same client.
    Assume that there the no object associated with the transport.
    Your quick respose is highly appreciated...
    Thanks in Advance!

    No this cannot be done.
    Both work bench and custimizing are separate entites when it comes to tranport layers config.
    You cannot save a report change into customizing request this will be saved into work bench request only .
    In the same way table entries or some customizing tasks can be captured only into custimizing tr.
    Br,
    Vijay.

  • Is there any way to change the label of my VO attributes

    hi ,
    Is there any way to change the label of my VO attributes so that it will have more logical presentation
    Thanks
    Musahib

    Hello Alex,
    I 've just checked my webbeans and the COLUMN_NAME_LABEL property is not use by the EditCurrentRecord, FindForm and RowsetBrowser webbeans.
    I had the following line to my custom EditCurrentRecord, FindForm and RowSetBrowser.
    So I can set Column display name ones for each webbeans.
    It's better than do it with different methods for each webbeans!!!!
    if((String)qView.getProperty(attrs[attrNo].getColumnName() + "_LABEL") != null)
    rField.setPromptText((String)qView.getProperty(attrs[attrNo].getColumnName() + "_LABEL"));
    In the ViewCurrentRecord something was done but with errors. Oracle Developers used getName() method instead of getColumnName()!!! So I rewrite it.
    if((String)qView.getProperty(attrs[attrNo].getName() + "_LABEL") != null)
    sHeader = (String)qView.getProperty(attrs[attrNo].getName() + "_LABEL");
    Hope this will help!
    Email if you need more.
    [email protected]
    Jean-Nokl

  • Is there any way to change the color of the Firefox 4 menu button away from orange? It attracts my attention and as far as I can tell personas change everything but the menu button color.

    Is there any way to change the color of the Firefox 4 menu button away from orange? It attracts my attention and as far as I can tell personas change everything but the menu button color.

    You can change it with the App Button Color extension - https://addons.mozilla.org/firefox/addon/app-button-color

  • Is there any way to change the status of MO to clear by di ?

    Is there any way to change the status of MO to clear  automatically ?
    When the finished qty isn't less than planned qty , we can do it.
    Thanks

    Hello,
    If the finished QTY less then Planned Qty can be:
    - Post a Receipt from production again with the remaining Qty to complete the production Order
    - Close the Work Order by  oPorductionOrder.Cancel Command
    - Report remaining Qty as Rejected Qty.
    Regards,
    J.

  • I hate white text on black background - is there any way to change the look of pse9?

    I hate white text on black background - is there any way to change the look of pse9?

    I agree and very disappointed with the look of this Photoshop elements 9 screen

  • Is there any way to change the background colour in Photoshop Elements 8?.

    Is there any way to change the background colour in Photoshop Elements 8?  There are two options offered in General Preferences, Appearance Options - Dark Grey or Light Grey - but even the Light Grey is much darker than that in Photoshop CS2.  I would like to make the background much lighter.  All advice will be appreciated.

    Thanks for your comments.
    I have seen that the background can be changed in PSE7 by using a slider in Preferences- General;  I don't understand why Adobe didn't keep that facility.

Maybe you are looking for

  • Please help with a weird issue

    Hi all, I'll try and be brief here but i need to give a lot of info, so please bear with me and thanx a lot for reading... I Have just bought a K7N2 Delta MB, AMD Athlon 2800 XP (Barton Core), 120GB Western Digital HD, Sony DVD Writer, 2 x Corsair 25

  • Does the Airport Extreme work w/Time Capsule (as prior info. said?)

    Seems to me that any person contemplating the purchase of a new Airport Extreme should at least be able to see both what it is and is not capable of doing... Time Machine does not support a properly mounted Airport Extreme disk. Period. Unless this i

  • Is iphone 6 permanently unlocked?

    i Intend to buy a new iPhone 6 unlocked and sim free, in order to use different sim in different countries. I've been told that an unlocked sim free phone will lock to the network of the first sim used. Is this correct?

  • Global ATP does not honor supply from some orgs

    Global ATP does not honor supply from some orgs ATP based on planning data. Planning completes OK and shows enough supply (in planning workbench). ATP plan based on Bill of Distribution defined like this: Source for ORG1 is ORG2 -> Source for ORG2 is

  • Amd64 or i686 version?

    HI! I am new to Arch Linux, but have been using Linux in general for about 6 months now. I have tried Fedora Core, Gentoo, and Ubuntu, but I have always liked Gentoo the best. My first question, is how does Arch Linux compare to Gentoo? I read some i