hyperium / hyperium/http

uri fragments dropped?

Open
#775 1 comment 2 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

Hi it seems the fragments part of a URI is dropped https://github.com/hyperium/http/blob/b53194720352ef923d5fa662bc52592520e8b3ce/src/uri/tests.rs#L210

can we added to the Uri struct?

It can be useful for certain connectors to do different logic base on the fragments that the users don't really want to pass to the remote HTTP server

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 by reading src/uri/tests.rs around line 210 and tracing the Uri struct used by that test. Determine the intended fragment representation and its effect on URI handling before defining scope. Done should be demonstrated by tests showing that URI fragments are retained and available for connector logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.