Skip to content

Conditional router  #96

Open
Open
@jocelyn

Description

@jocelyn

For now router dispatch request based on

  • request methods
  • mapping (could be URI, URI-template, ...)

It would be convenient to have an optional condition ... that could be for instance

  • Content-type checking ... if Accept is text/html for instance ...
  • could also be Accept-Language ...
  • and ... any condition the user could think of.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions