NAME

h2spec-server - Minimal HTTP/2 server for conformance testing

SYNOPSIS

h2spec-server [port]

# Default port 8080
h2spec-server

# Custom port
h2spec-server 9000

# Run h2spec against it
h2spec -h localhost -p 9000

DESCRIPTION

A minimal HTTP/2 cleartext (h2c) server designed for testing with h2spec, the HTTP/2 conformance testing tool.

The server responds with "200 OK" to all valid requests. It uses a fork-per-connection model to handle h2spec's rapid test connections.

FEATURES

  • HTTP/2 cleartext (h2c) - no TLS required

  • Fork-per-connection for concurrent test handling

  • Responds to GET, HEAD, POST requests

  • Handles requests with and without body

SEE ALSO

Net::HTTP2::nghttp2, https://github.com/summerwind/h2spec