Closed Bug 1779359 Opened 4 years ago Closed 4 years ago

Content length of resend requests should be updated when the message body changes

Categories

(DevTools :: Netmonitor, defect, P1)

Firefox 102
defect

Tracking

(firefox105 verified)

VERIFIED FIXED
105 Branch
Tracking Status
firefox105 --- verified

People

(Reporter: shadow_1331_zyw, Assigned: bomsy)

References

(Blocks 4 open bugs)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

  1. Open the Web Developer Tools -> Network Monitor tab
  2. Navigate a web site
  3. Right click on an HTTP request item and choose "resend" menu
  4. Change something in the 'message body' text box
  5. Click on the 'send' button

Actual results:

  1. The content-length in 'message header' box stay unchanged when modifying the 'message body'.
  2. No message was sent when the send button is clicked, I think it may be caused by the mismatch between the content-length field of the header and the actual length of the message being sent.

Expected results:

In Firefox 91, the content-length will change automatically when the request body is changed.

The Bugbug bot thinks this bug should belong to the 'DevTools::Netmonitor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Netmonitor
Product: Firefox → DevTools

Thanks for reporting i can confirm the issue.

Status: UNCONFIRMED → NEW
Type: enhancement → defect
Ever confirmed: true
Summary: content-length unchanged in Web Developer Tools → Content length of resend requests should be updated when the messge body changes
Severity: -- → S3
Priority: -- → P1
Summary: Content length of resend requests should be updated when the messge body changes → Content length of resend requests should be updated when the message body changes
See Also: → 1623004
Assignee: nobody → hmanilla
Blocks: 1784480
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/318de40d78d8 Update Content-Length when message body changes r=jdescottes
Regressions: 1784535
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Flags: qe-verify+

I was abel to reproduce this bug using STR from commment 0 (affected Nightly, 2022-07-03), and also with some guidance from Hubert.

The bug is verified as fixed on latest Beta 105.0b5 under macOS 11, Win 10 x64 and Ubuntu 18.04 x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: