timestamp-authority
timestamp-authority copied to clipboard
Add http2 support
Description
The server should be able to receive both http2 and http1 requests.
Seems like a nice to have - Does the golang openapi generators have support for http2? http2 is also experimental currently in the core library (https://pkg.go.dev/golang.org/x/net/http2)
if the server is configured with TLS, HTTP/2 will be turned on by default: https://github.com/sigstore/timestamp-authority/blob/aa628d33f589ed589fc54e8d77ff2853b677738f/pkg/generated/restapi/server.go#L370
supporting h2c seems pretty niche