Support validation on GET, POST and matchdict.