bytecodealliance / bytecodealliance/wstd

Is it possible to append query values?

未关闭
#68 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature-request
主要语言
Rust
星标
133
派生
19
平均合并
6 天 19 小时
30 天内合并 PR
5

描述

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!

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
networking
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。