Extension to specify per-request resource types

This is useful when you have a view to a Document that allows
inheritance because it can use request information to determine
exactly what type of resource is being POSTed or PUT.