搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Wrong size shown in network tab of firefox developer tools for redirects (302 and 301)

  • 2 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 flynorc

more options

I'm having this situation where image requests are made to an image endpoint, passing in reference and width as arguments and the server returns a 302 redirect to the image resource. At the moment that 302 triggers a 301 to another domain, and then after 2 redirects the image is loaded. The image filesize is 18KB.

Now the "problem"/question I have is when looking at firefox debugger tools (network tab) for this 3 requests, I see that it is showing me that 3 times 18KB were transferred, but the redirects should be much much smaller (range of 100B-300B).

the screen shot of the firefox network tab (see attached image)

Is this a bug in the firefox developer tools or am I missing some concept here and the browser actually downloads so much for every image?

Looking at the same page in the chrome developer tools, I see something more like what I would expect: (see attached image)

And then I ran the same request also using ARC and the response(s) I see there are shown on the next image (and also get the responses along the same lines using curl). (see attached image)

I'm using firefox 61.0.2 (64 bit) browser and chrome 68.0.3440.106.

Any ideas?

I'm having this situation where image requests are made to an image endpoint, passing in reference and width as arguments and the server returns a 302 redirect to the image resource. At the moment that 302 triggers a 301 to another domain, and then after 2 redirects the image is loaded. The image filesize is 18KB. Now the "problem"/question I have is when looking at firefox debugger tools (network tab) for this 3 requests, I see that it is showing me that 3 times 18KB were transferred, but the redirects should be much much smaller (range of 100B-300B). the screen shot of the firefox network tab (see attached image) Is this a bug in the firefox developer tools or am I missing some concept here and the browser actually downloads so much for every image? Looking at the same page in the chrome developer tools, I see something more like what I would expect: (see attached image) And then I ran the same request also using ARC and the response(s) I see there are shown on the next image (and also get the responses along the same lines using curl). (see attached image) I'm using firefox 61.0.2 (64 bit) browser and chrome 68.0.3440.106. Any ideas?
已附加屏幕截图

所有回复 (2)

more options

Hi there, While we try to find the right person to help out with this question, I have filed a bug on your behalf in the Networking Component of Bugzilla.mozilla.org

Bug 1484781

In order for a better consult I highly recommend sharing the url of the website you are observing this in. It helps the consul-tee have a way to reproduce the issue.

If you could also share in the bug a bit more about your set up (Firefox default on a home network, proxy etc) this helps as well.

Thank you for your patience, the next steps are to sign up for bugzilla.mozilla.org and posting this information to the bug above. Let me know if there are any issues with this and I will do my best to help with following up.

more options

@guigs, Thank you for your response and pointing me in the right direction. I will add the information to the bugreport you made.