hasHeader method

bool hasHeader(
  1. String name
)

Verify the existence of the given header.

Implementation

bool hasHeader(String name) {
  return headers!.containsKey(utils.headerize(name));
}