isMethodNotCacheble function

bool isMethodNotCacheble(
  1. REQUEST_METHODS method
)

Determines if a given HTTP method should NOT have its responses cached.

This is the inverse of isMethodCacheble.

  • method: The HTTP method to check

Returns true if the method's responses should NOT be cached, false otherwise.

Implementation

bool isMethodNotCacheble(REQUEST_METHODS method) {
  return !isMethodCacheble(method);
}