isIdempotentHttpMethod function
True, if the method
given is specified to be idempotent.
This method does a case-insensitive comparison.
Implementation
bool isIdempotentHttpMethod(String method) =>
idempotentHttpMethods.contains(method.toUpperCase());