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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:44:36+00:00 2026-06-15T10:44:36+00:00

Fiddler, of course, rocks! So I need to build my request (some headers, a

  • 0

Fiddler, of course, rocks!

So I need to build my request (some headers, a big xml payload), and do an http POST that is gzipped (header indicates gzip compression, and the xml payload I paste in gets gzipped… just like the specs say).

How?

When I use the “Rules” option to gzip, the request appears (as far as I can see) not to be modified. Appears the same as if not gzipped.

Currently using fiddler 2.3.9.2

CURL Reference:
The desired goal in fiddler can be done in curl with a couple of steps:

1) gzip payload.xml (use 7-Zip or other tool that can create a gzip file). Call the file: payload.xml.gz

2) Use this syntax

curl --header "Content-Type: application/xml" --header "Content-Encoding: gzip" --data-binary "@payload.xml.gz" https://<yourendpoint> --insecure --trace-ascii -

TIA!

  • 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-15T10:44:37+00:00Added an answer on June 15, 2026 at 10:44 am

    First, please upgrade to the current version of Fiddler.

    Second, it’s important to understand that most of Fiddler’s visible compression features relate to the compression of the response rather than of the request. That’s because many/most servers don’t support compression of requests because browsers don’t have any way to know a priori whether it will be supported and hence browsers don’t compress requests. Similarly, supporting compressed requests opens the server up to ZIP-bomb attacks.

    Now, having said that, some servers do support compressed requests, and Fiddler can generate these. The first question is “How are you generating your request?”

    If you’re using the Composer, do this: Click Rules > Customize Rules. Scroll to OnBeforeRequest. Add the following lines:

    static function OnBeforeRequest(oSession: Session) {        
           if (oSession.oRequest.headers.ExistsAndContains("Content-Encoding", "doGZIP"))
            {
              oSession.oRequest.headers.Remove("Content-Encoding");
              oSession.utilGZIPRequest();
            }
    

    Now, any request that contains a Content-Encoding: doGZIP header will be automatically compressed by Fiddler before being transmitted to the server.

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

Sidebar

Related Questions

I use Fiddler for intercepting HTTP traffic when using IE or Firefox. Now that
I usually use Fiddler to monitor HTTP request and response, but if it is
In Fiddler, I can pass in a request and get a response 500. Fine
With the help of fiddler, I did this replay attack with the following HTTP
I use fiddler to call the method which is post. Here is my path:
I call the method like this: Headers: User-Agent: Fiddler Content-type: application/json Content-length: 116 Host:
This seemed pretty straightforward: capture a POST in Fiddler (Windows, because I find it
Fiddler is a great tool for testing a wide variety of http scenarios. However
Using Fiddler , we see 3 HTTP requests (and matching responses) for each call
I just started using Fiddler 2 to create request objects for REST,JSON, and SOAP

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.