Skip to content

Conversation

willbach
Copy link
Contributor

@willbach willbach commented Feb 15, 2024

Problem

Currently, it is possible to bind an HTTP path in http_server with a URL param like /test/:test-id, but it is not possible to get easy access to :test-id or the path that was originally bound.

Solution

This PR forwards the url_params and matching bound_path which are currently available in, but not being forwarded from, http_server.

Here is the corresponding process_lib update

Docs Update

Corresponding docs PR

Notes

There will be a repo added that can be used to test http bindings and requests.

@willbach willbach requested a review from dr-frmr February 15, 2024 16:09
@willbach willbach changed the base branch from main to develop February 15, 2024 16:09
"open",
"public-ip",
"rand 0.8.5",
"regex",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this crate still being used? i don't see it in the diff -- if not, please remove from Cargo.lock

@dr-frmr dr-frmr merged commit 97653bb into develop Feb 15, 2024
@dr-frmr dr-frmr deleted the wg/http-server-path-updates branch February 15, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants