Closed Bug 1914018 Opened 1 year ago Closed 1 year ago

Add API on nsIHttpChannelInternal to update the response status

Categories

(Core :: Networking, task, P3)

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

For network.continueResponse, we should be able to modify the status and statusText of an existing response (typically intercepted in http-on-examine-response).

We can rely on parseStatusLine to handle most of the complexity here, we mostly need to expose this to chrome JS

Component: WebDriver BiDi → Networking
Product: Remote Protocol → Core
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3bb4680e845b Add API on nsIHttpChannelInternal to update the response status r=necko-reviewers,kershaw

Backed out for causing wd failures in headers.py

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/network/provide_response/headers.py | test_set_cookie_header_and_cookies_before_request_sent - AssertionError: assert 1 == 2
Flags: needinfo?(jdescottes)
Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2c337517c4d9 Add API on nsIHttpChannelInternal to update the response status r=necko-reviewers,kershaw
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [necko-triaged]
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
See Also: → 1904895
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: