Bug 1915717 Comment 6 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I think this has to do with the fact that [we return `"http/1.1"` when `HttpVersion` is invalid or unavailable](https://searchfox.org/mozilla-central/rev/5fdbe0d78d61581aa4b37ce82bbf31c2bd7826f1/netwerk/protocol/http/nsHttp.cpp#179-195). We might need to return something else or create a separate method like our initial approach. Or perhaps we should use [`mResponseHead->Version()`](https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsHttpResponseHead.cpp#113_?
I think this has to do with the fact that [we return `"http/1.1"` when `HttpVersion` is invalid or unavailable](https://searchfox.org/mozilla-central/rev/5fdbe0d78d61581aa4b37ce82bbf31c2bd7826f1/netwerk/protocol/http/nsHttp.cpp#179-195). We might need to return something else or create a separate method like our initial approach. Or perhaps we should use [`mResponseHead->Version()`](https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsHttpResponseHead.cpp#113]?
I think this has to do with the fact that [we return `"http/1.1"` when `HttpVersion` is invalid or unavailable](https://searchfox.org/mozilla-central/rev/5fdbe0d78d61581aa4b37ce82bbf31c2bd7826f1/netwerk/protocol/http/nsHttp.cpp#179-195). We might need to return something else or create a separate method like our initial approach. Or perhaps we should use [`mResponseHead->Version()`](https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsHttpResponseHead.cpp#113)?

Back to Bug 1915717 Comment 6