Skip to content

AgentHTTPD v0.3.0: dynamic path segments

Choose a tag to compare

@erishen erishen released this 27 Sep 09:17
· 29 commits to main since this release

What's new

  • Dynamic path segments: routes may contain :name segments (/api/stage/:id) — matched segment-wise, URL-decoded captures stored on HttpRequest (path_param_names/values/count, max 8 params).
  • Mixed literal/dynamic/* paths; dispatch priority: literal exact > dynamic > trailing * (three-pass scan in framework_route_dispatch).
  • Consumed by Lume v0.5.0 as req.params.