control supported http methods with a dictionary rather than code
base supported mthods on a single definition