simpleRequestHeaders constant Null safety

List<String> const simpleRequestHeaders

List of 'Simple' CORS headers.

These are headers that are considered acceptable as part of any CORS request and cannot be changed.

Implementation

static const List<String> simpleRequestHeaders = [
  "accept",
  "accept-language",
  "content-language",
  "content-type"
];