bytecodealliance / bytecodealliance/wstd

Is it possible to append query values?

Offen
#68 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature-request
Vorherrschende Sprache
Rust
Sterne
133
Forks
19
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
5

Beschreibung

I read through the docs but couldn't find any information on how to append query values to my request. In my case, these are conditional, so some methods on the `Builder` struct would be great.

Sadly, simply appending them to the URL is not enough. The values have to be URL-encoded. A utility method similar to other crates would be great. It could take any `T: Serializable` and append the query values. `reqwest` and `ureq` provide this IIRC.

Thanks for the great library!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating the request `Builder` API and reviewing how it currently constructs URLs. Compare the query-value helpers in reqwest and ureq, then determine how conditional values should be URL-encoded and appended; done means the Builder supports this without manual URL concatenation and the behavior is documented and covered by the project’s existing checks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
networking
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.