http icon indicating copy to clipboard operation
http copied to clipboard

uri fragments dropped?

Open ibigbug opened this issue 5 months ago • 1 comments

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

ibigbug avatar Jul 23 '25 05:07 ibigbug

See the discussion in #127 for some insights into that issue.

markuskreusch avatar Aug 21 '25 21:08 markuskreusch