Bug 176483

Summary: Provide an HTTP/2 LayoutTest server
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, ap, Basuke.Suzuki, jbedard, joepeck, lforschler, youennf
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=207656

Description Joseph Pecoraro 2017-09-06 17:00:14 PDT
It would be useful to have an HTTP/2 server for LayoutTests to test various web features.

1. Test differences between HTTP/1.1 and HTTP/2
2. Test Web APIs that expose networking details

For example:

• Resource Timing Entries include the `nextHopProtocol` to describe the networking protocol used (`http1/1`, `h2`, etc)
<https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-nexthopprotocol>

• Fetch Response `statusText` property tests the HTTP status message (HTTP/2 doesn't have this)
<https://webkit.org/b/176479>

Notes:

Apache has a guide for including HTTP/2 support:
<https://httpd.apache.org/docs/2.4/howto/http2.html>

Interestingly you can limit support to a VirtualHost, so maybe we could keep one apache instance and just enable a virtual host in a different http2 subdirectory.
Comment 1 Basuke Suzuki 2020-02-12 12:54:30 PST
We really need this environment. Same thing with WebSocket server, using python to implement H2 server?