applyResponseHttpHeaders method

void applyResponseHttpHeaders(
  1. HttpHeaders headers
)

Captures allowlisted response headers from dart:io HttpHeaders.

Implementation

void applyResponseHttpHeaders(HttpHeaders headers) {
  _applyHttpHeaders(
    'http.response.header',
    headers,
    HttpInstrumentationSettings.captureResponseHeaders,
  );
}