Skip to content

test: enforce/verify "absolute path in request line" under HTTP/2 (TLS) #236

Description

@pi0x

The absolute path in request line test in test/_tests.ts is skipped for HTTP/2 runs:

// TODO: Write test to make sure it is forbidden for http2/tls
test.skipIf(opts.http2)("absolute path in request line", async () => {

It is skipped because the HTTP/2 request pseudo-headers (:path) model absolute-form request targets differently from the HTTP/1.1 request line, so the HTTP/1.1 assertion does not translate directly. This issue tracks writing an HTTP/2 (TLS) variant that verifies an absolute path / authority-form target is handled (or forbidden) correctly, so the skip can be removed.

Tracked as part of the v1 stabilization docs/test-hygiene batch (link skips to issues).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions