http-rs / http-rs/surf

Add request url to corresponding response object

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.5k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Not sure if this is something that people want. Currently I have the need to access the URL of a response object. I basically just wrapped a custom struct on top of Response and added a field `url`. But this means that I need to delegate a lot of the functions of `Response`.

As 2.0 is being worked on, would you guys consider such a change? I can implement it and open a PR if this feature would get merged into.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.