Closed Bug 318449 Opened 20 years ago Closed 10 years ago

implement attribute AString nsIHTTPChannel2.version

Categories

(Core :: Networking, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Unassigned)

Details

Currently unless you sniff traffic, you can't really find out what version a response is. Nor can you easily specify the version to be used by a request. it should be possible to specify an arbitrary http version (including 3.9 or 3.02). setting this property before making a request should trump any other preferences when the request goes out and result in the first line of the http request (HTTP/{setAttributeVersion}). when the response is received/processed, the propery should change to the response value. And if a response contains HTTP/5.8, that http version should be available. If a response is internally marked as 0.9, then 0.9 should be returned by this attribute. currently it's impossible to tell if a response is a 0.9 response or a 1.0 response which is making my life very difficult.
-> default owner
Assignee: darin → nobody
Component: Networking: HTTP → Networking
QA Contact: networking.http → networking
this is available from the response header.. see dev tools
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.