Closed Bug 1214703 Opened 9 years ago Closed 9 years ago

Checking the size of a network request using gzip compression returns random results.

Categories

(DevTools :: Netmonitor, defect)

41 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: raymondcamden, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20150929144111 Steps to reproduce: I have a JSON file on my web server where I've enabled gzip compression. To confirm this was working, in Chrome I requested the file with dev tools opened. In the Network panel, I could correctly see the smaller size being sent as well as the 'native' size. I then tried it in Firefox. Actual results: In Firefox, i was getting a smaller size being sent over the wire, so it worked, but the actual *size* was random, almost as if my web server was randomly changing the file before it zipped it. However, Chrome always reported a consistent size of zipped content. Expected results: A consistent size for the zipped content.
Component: Untriaged → Developer Tools: Netmonitor
We've made some changes to the size reporting recently. If you test this issue in Nightly 45, do you still see the problem?
Flags: needinfo?(raymondcamden)
(In reply to Raymond Camden from comment #0) > User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:41.0) > Gecko/20100101 Firefox/41.0 > Build ID: 20150929144111 > > Steps to reproduce: > > I have a JSON file on my web server where I've enabled gzip compression. Could I access the JSON file to reproduce the problem on my machine? Honza
Nightly 45 does *not* show the problem, so it looks fixed to me.
Flags: needinfo?(raymondcamden)
Great, let's call it fixed then, possibly by bug 937586.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Feel free to re-open if you see the issue again.
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.