sensitiveHeaderNames constant

Set<String> const sensitiveHeaderNames

Header names whose values never leave the device (compared lower-case). Same set as the native OkHttp path, plus the token headers the native bridges already mask.

Implementation

static const Set<String> sensitiveHeaderNames = {
  'authorization',
  'proxy-authorization',
  'cookie',
  'set-cookie',
  'x-api-key',
  'x-auth-token',
  'x-session-token',
};