Adds method filter method for Endpoints.
Request methods.
Accept method.
Return allow header.