rea-agents - v2.1.0
Preparing search index...
browser/CdpSafeMetadata
safeResponseMetadata
Function safeResponseMetadata
safeResponseMetadata
(
requestId
:
string
,
url
:
string
,
response
:
UnknownRecord
,
allowedOrigins
:
ReadonlySet
<
string
>
,
)
:
{
agentHints
:
{
declaration
:
string
;
mechanism
:
|
"link_rel"
|
"dom_link_rel"
|
"well_known_resource"
|
"response_header"
;
trust
:
"page-declared-untrusted"
;
url
:
string
|
null
;
}
[]
;
response
:
{
content_encoding
:
string
|
null
;
content_length
:
number
|
null
;
csp
:
{
directives
:
{
name
:
string
;
sources
:
{
kind
:
|
"other"
|
"keyword"
|
"scheme"
|
"approved_origin"
|
"external_origin"
;
value
:
string
|
null
;
}
[]
;
}
[]
;
hash_count
:
number
;
nonce_count
:
number
;
}
;
links
:
{
as
:
string
|
null
;
crossorigin
:
string
|
null
;
destination_scope
:
"approved"
|
"unsupported"
|
"outside_policy"
;
href
:
string
|
null
;
rel
:
string
[]
;
type
:
string
|
null
;
}
[]
;
mime_type
:
string
|
null
;
policies
:
{
coep
:
string
|
null
;
coop
:
string
|
null
;
corp
:
string
|
null
;
permissions_policy_features
:
string
[]
;
referrer_policy
:
string
|
null
;
x_content_type_options
:
string
|
null
;
}
;
request_id
:
string
;
url
:
string
;
}
;
}
Normalize an allowlisted subset of response metadata and discard raw headers.
Parameters
requestId
:
string
url
:
string
response
:
UnknownRecord
allowedOrigins
:
ReadonlySet
<
string
>
Returns
{
agentHints
:
{
declaration
:
string
;
mechanism
:
|
"link_rel"
|
"dom_link_rel"
|
"well_known_resource"
|
"response_header"
;
trust
:
"page-declared-untrusted"
;
url
:
string
|
null
;
}
[]
;
response
:
{
content_encoding
:
string
|
null
;
content_length
:
number
|
null
;
csp
:
{
directives
:
{
name
:
string
;
sources
:
{
kind
:
|
"other"
|
"keyword"
|
"scheme"
|
"approved_origin"
|
"external_origin"
;
value
:
string
|
null
;
}
[]
;
}
[]
;
hash_count
:
number
;
nonce_count
:
number
;
}
;
links
:
{
as
:
string
|
null
;
crossorigin
:
string
|
null
;
destination_scope
:
"approved"
|
"unsupported"
|
"outside_policy"
;
href
:
string
|
null
;
rel
:
string
[]
;
type
:
string
|
null
;
}
[]
;
mime_type
:
string
|
null
;
policies
:
{
coep
:
string
|
null
;
coop
:
string
|
null
;
corp
:
string
|
null
;
permissions_policy_features
:
string
[]
;
referrer_policy
:
string
|
null
;
x_content_type_options
:
string
|
null
;
}
;
request_id
:
string
;
url
:
string
;
}
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rea-agents - v2.1.0
Loading...
Normalize an allowlisted subset of response metadata and discard raw headers.