Skip to content

Expected normalization for path-and-query? #780

Open

Description

@wingo

If I set-path-and-query(""), should I get back "" from get-path-and-query, or is there some normalization allowed, or some normalization required?

Wasmtime currently returns "/" after having set "".

Activity

  1. wingo commented on Oct 2, 2025

    @wingo
    ContributorAuthor

    Some normalization rules are specified in RFC 9110 §4.2.3

  2. pchickey commented on Oct 2, 2025

    @pchickey
    Contributor

    The spec should allow for (MAY perform) normalization according to those rules. I don't think we should require it.

  3. added a commit that references this issue on Aug 10, 2026
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

    P-httpProposal: wasi-http

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions