1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val default : t
default
is a t
with no allowed headers and no allowed origins.
val add_allow_origin : Cohttp.Header.t -> t -> string option -> Cohttp.Header.t
val add_headers : Cohttp.Header.t -> t -> string option -> Cohttp.Header.t
val check_host : Cohttp.Header.t -> t -> bool
check_host header t
is true
if one of t
's members matches the header
's Host
field.