Module gotham::router::route::matcher::accept

source ·
Expand description

Defines the AcceptHeaderRouterMatcher.

Structs

A RouteMatcher that succeeds when the Request has been made with an Accept header that includes one or more supported media types. A missing Accept header, or the value of */* will also positvely match.