Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Network.CorsError

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
type alias Protocol.Network.CorsError
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { CorsError } = Protocol.Network;

The reason why request was blocked.

definition: (
| "DisallowedByMode"
| "InvalidResponse"
| "WildcardOriginNotAllowed"
| "MissingAllowOriginHeader"
| "MultipleAllowOriginValues"
| "InvalidAllowOriginValue"
| "AllowOriginMismatch"
| "InvalidAllowCredentials"
| "CorsDisabledScheme"
| "PreflightInvalidStatus"
| "PreflightDisallowedRedirect"
| "PreflightWildcardOriginNotAllowed"
| "PreflightMissingAllowOriginHeader"
| "PreflightMultipleAllowOriginValues"
| "PreflightInvalidAllowOriginValue"
| "PreflightAllowOriginMismatch"
| "PreflightInvalidAllowCredentials"
| "PreflightMissingAllowExternal"
| "PreflightInvalidAllowExternal"
| "PreflightMissingAllowPrivateNetwork"
| "PreflightInvalidAllowPrivateNetwork"
| "InvalidAllowMethodsPreflightResponse"
| "InvalidAllowHeadersPreflightResponse"
| "MethodDisallowedByPreflightResponse"
| "HeaderDisallowedByPreflightResponse"
| "RedirectContainsCredentials"
| "InsecurePrivateNetwork"
| "InvalidPrivateNetworkAccess"
| "UnexpectedPrivateNetworkAccess"
| "NoCorsRedirectModeNotFollow"
)