add method

void add(
  1. String name,
  2. String value
)

Adds a header value. The header named name will have the value value added to its list of values.

Implementation

void add(String name, String value) {
  final arr = this[name];
  if (arr == null) {
    return set(name, value);
  }
  arr.add(value);
}