搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox version 102 removed Edit and Resend Request (Console Tools) - and broke "Resend"

  • 3 回覆
  • 9 有這個問題
  • 1000 次檢視
  • 最近回覆由 cor-el

more options

Using Firefox version 102:

Open console tools and navigate to Network tab Right click on a POST request "Edit and Resend" is no longer an option? There is still the resend option Clicking resend allows you to edit the request, but unfortunately the "Content-Length" attribute is not automatically updated like it was with edit and resend, so all requests fail after being edited. This is because the Content-Length header indicates the size of the message body, in bytes, sent to the recipient. When you add or removes bytes in a JSON request for example, it doesn't get updated. The attribute can also not be manually set. How can I use version 102 to edit and resend requests the same way I used to?

Thank you.

Using Firefox version 102: Open '''console tools''' and navigate to '''Network''' tab Right click on a '''POST''' request '''"Edit and Resend" is no longer an option?''' There is still the '''resend''' option Clicking resend allows you to edit the request, but unfortunately the "Content-Length" attribute is not automatically updated like it was with edit and resend, so all requests fail after being edited. This is because the Content-Length header indicates the size of the message body, in bytes, sent to the recipient. When you add or removes bytes in a JSON request for example, it doesn't get updated. The attribute can also not be manually set. How can I use version 102 to edit and resend requests the same way I used to? Thank you.

被選擇的解決方法

Hi,

a new intern has been playing with it recently. Can you file a new bug on bugzilla? Thanks.

For now you can go to about:config and switch the devtools.netmonitor.features.newEditAndResend preference, but I guess it won't last long.

從原來的回覆中察看解決方案 👍 2

所有回覆 (3)

more options

選擇的解決方法

Hi,

a new intern has been playing with it recently. Can you file a new bug on bugzilla? Thanks.

For now you can go to about:config and switch the devtools.netmonitor.features.newEditAndResend preference, but I guess it won't last long.

more options

TyDraniu said

Hi, a new intern has been playing with it recently. Can you file a new bug on bugzilla? Thanks. For now you can go to about:config and switch the devtools.netmonitor.features.newEditAndResend preference, but I guess it won't last long.

Thank you for the timely response. Will open a bug report right now. The solution you provided appears to work for now.

more options

For reference:

  • 1778300 - Console Tools - Edit and Resend Request is broken (does not update Content-Length header)