What is a "HTTP Related Scheme" ?

Open
#782 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
wasm
Domain
documentation

Research direction

Search the specification for the get-scheme and set-scheme definitions quoted in the issue, then compare the terminology with RFC 3986 §3.1. Confirm the preferred term and reference with maintainers; done when the specification uses agreed terminology and includes the appropriate link.

Written by the indexing model from the issue text.

Description

P-http

The spec says:

    /// Get the HTTP Related Scheme for the Request. When `none`, the
    /// implementation may choose an appropriate default scheme.
    get-scheme: func() -> option<scheme>;
    /// Set the HTTP Related Scheme for the Request. When `none`, the
    /// implementation may choose an appropriate default scheme. Fails if the
    /// string given is not a syntactically valid uri scheme.
    set-scheme: func(scheme: option<scheme>) -> result;

Searching for "HTTP Related Scheme" on the web just comes up with this repo. Should it be changed to "URI Scheme" and link to RFC 3986 §3.1 ?

Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WebAssembly/WASI

All issues in WebAssembly/WASI

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.