kinode-dao / process_lib

Standard Library crate for Kinode processes written in Rust
Apache License 2.0
3 stars 2 forks source link

Updates to IncomingHttpRequest #60

Closed willbach closed 8 months ago

willbach commented 8 months ago

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 includes the updates to the IncomingHttpRequest, along with additional methods for parsing the bound_path

Docs Update

Corresponding docs PR

Notes

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