bytecodealliance / bytecodealliance/wstd

Is it possible to append query values?

Đang mở
#68 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature-request
Ngôn ngữ chính
Rust
Star
133
Fork
19
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
networking
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.