Closed Bug 405341 Opened 18 years ago Closed 17 years ago

Not possible to set "Connection: close" header using setRequestHeader XMLHttpRequest method

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: rchl2k, Unassigned)

References

()

Details

(Keywords: regression, testcase, Whiteboard: [wontfix?])

User-Agent: Opera/9.50 (Windows NT 5.1; U; en) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007112005 Minefield/3.0b2pre Using XMLHttpRequest setRequestHeader method to set Connection: close header does not work in Firefox 3 beta build Reproducible: Always Steps to Reproduce: 1. Create XHR request 2. Use setRequestHeader method to specify "Connection: close" header 3. Send request and see what headers are sent (server side way or by sniffing) Actual Results: Sends general Connection: keep-alive header Expected Results: Should send Connection: close we specified Works as expected in firefox 2.
Blocks: xxx
Component: General → DOM
Keywords: regression, testcase
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
By the way, thanks for a nice testcase!
Whiteboard: [wontfix?]
OK, thanks for clarification.
Closing this as it seems to be by design. This has no relation to bug 389508 though.
No longer blocks: xxx
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.