http_interceptors/attestation_support library

Constants

redirectStatuses → const Set<int>
The statuses whose Location the integrations follow.

Functions

hasHeader(Map<String, dynamic> headers, String name) → bool
Whether headers already holds name, compared case-insensitively.
headersForHop(Map<String, String> headers, Uri from, Uri to) → Map<String, String>
The headers to carry to a redirect hop from from to to, before the attestation headers are re-requested: as dart:io does, credentials and cookies are dropped unless to is the same origin or a subdomain of it.
isRedirectableMethod(String method) → bool
Whether a request with method is followed on redirect. dart:io follows only GET and HEAD; the integrations do the same.