package resto-cohttp
Module Resto_cohttp.CorsSource
CORS (cross-origin resource sharing) controls the ways in which resources from different domains are allowed to be obtained.
See the specifications at https://fetch.spec.whatwg.org/#http-cors-protocol
Source
type t = {allowed_headers : string list;(*https://fetch.spec.whatwg.org/#http-access-control-allow-headers
*)allowed_origins : string list;(*https://fetch.spec.whatwg.org/#http-access-control-allow-origin
*)
}