snap-predicates-0.3.1: Declarative routing for Snap.

Safe HaskellNone

Snap.Predicate.Accept

Synopsis

Documentation

data Accept t s Source

A Predicate against the Requests "Accept" header.

Constructors

Accept t s 

Instances

(Eq t, Eq s) => Eq (Accept t s) 
(Show t, Show s) => Show (Accept t s) 
(MType t, MSubType s) => Predicate (Accept t s) Request