Skip to content

Router Pattern Support #13

@johnpatek

Description

@johnpatek

The router path handling should be updated to allow users to match routes by prefix. So if the user calls:

router.add_route("/users/", &my_handler);

It should return the handler for any request with a path that starts with /users/. This will be especially useful for GET, PUT, and DELETE, where the path often ends with an identifier.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions