applyResponseHeaders method
Captures allowlisted response headers as http.response.header.<name>.
Implementation
void applyResponseHeaders(Map<String, String> headers) {
_applyHeaders(
'http.response.header',
headers,
HttpInstrumentationSettings.captureResponseHeaders,
);
}