Skip to content

WASIp3 set-path-and-query normalizes an empty path for OPTIONS #11780

@wingo

Description

@wingo

Quoth RFC 9110 §4.2.3:

When not being used as the target of an OPTIONS request, an empty path component is equivalent to an absolute path of "/", so the normal form is to provide a path of "/" instead.

However Wasmtime always normalizes "" to "/", even if the method is set to OPTIONS.

Related to WebAssembly/wasi-http#195.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixingwasi:implIssues pertaining to WASI implementation in Wasmtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions