hyperium / hyperium/http

PathAndQuery should have a way to build Query Parameters

Open
#488 4 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.4k
Forks
378
Avg merge
1d 21h
Merged PRs (30d)
5

Description

When constructive a URI with https://docs.rs/http/0.2.4/http/uri/struct.PathAndQuery.html it's currently assumed that you already have the uri in a single string that contains both the path and query. However, applications may wish to build a query "as they go" specifying each key and value through a builder process.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the PathAndQuery API documented in the issue and inspect how it currently accepts a combined path and query string. Define the builder behavior for adding query keys and values incrementally, then add coverage showing that the resulting PathAndQuery contains the intended path and query parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.