Pudu programming language
Menu

Std.Http.Server.Guard.Sharing

1 declaration

type

Sharing

This declaration introduces a public type.

What it does

Which origins a service permits to read its answers.

An allowlist and nothing else. Reflecting back whichever origin asked is

indistinguishable from permitting everything, and is what a

misconfiguration produces; a wildcard alongside credentials is refused by

browsers anyway and states an intention nobody has.

Read the signature

  • This declaration has no value signature because it introduces a type or trait.

Back to Std.Http.Server.GuardSearch related declarations