{#if m} {@const s = m.settings!}
Collection
{root}/knock.yaml
{#if dirty}{:else}Saved{/if}

Auth

Default for every request that inherits.

Headers

Variables

The widest scope inside the collection. Environments override these.

(m!.vars = Object.fromEntries(varRows.filter((r) => r.name).map((r) => [r.name, r.value])))} />

Network

Proxy
System honours HTTP_PROXY, HTTPS_PROXY and NO_PROXY
{#if s.proxy?.mode === 'custom'}
s.proxy!.url ?? '', (v) => (s.proxy!.url = v || undefined)} /> s.proxy!.no_proxy ?? '', (v) => (s.proxy!.no_proxy = v || undefined)} />
{/if}
Extra CA certificates
PEM bundle trusted in addition to the system store
{#if s.ca_bundle}{/if}
Cookie jar
Store cookies from responses and send them back
(s.cookies = v ? undefined : false)} aria-label="Cookie jar" />

Client certificates (mTLS)

{#each s.client_certs! as c, i (i)}
Certificate Private key or PKCS#12 Passphrase c.passphrase ?? '', (v) => (c.passphrase = v || undefined)} />
{/each}
{/if}