Secure.with_default_headers()

Create a Secure instance with a sensible default set of headers.

Usage

Source

Secure.with_default_headers()

This configuration is suitable for many modern applications and can be customized with methods like allowlist_headers() or by adding additional header builder objects.

Returns

Secure
Instance preconfigured with Preset.BALANCED, the recommended default profile.