Skip to content

httprouter 2.0 status and Routing priority over wildcards #202

@solarfly73

Description

@solarfly73

Hi Julien,

I read the other issues that point to a 2.0 version where you intend to support routing priority such that more specific routes will take precedence over wildcards. Is this code in progress? Any way I can help out? If not, I have been working on the following:

  1. If a node has two or more children, and one is a wildcard, it receives the worst priority.
  2. Only one wildcard is allowed per node within the group of children.

Can you share your thoughts on the strategy you feel is necessary to implement this and keep the router fast?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions