bytecodealliance / bytecodealliance/wstd

Is it possible to append query values?

Ouverte
#68 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
feature-request
Langage dominant
Rust
Étoiles
133
Forks
19
Merge moyen
6 j 19 h
PR mergées (30 j)
5

Description

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!

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust
Domaine
networking
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.