{"version":"2.1.326","anchor":"http-hook-allowlist-managed-settings-precedence","canonical_anchor":"http-hook-allowlist-managed-settings-precedence","heading":"HTTP hooks: managed-settings allowlist precedence and dropped length headers","tier":"notice","area":"Hooks","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/http-hook-allowlist-managed-settings-precedence","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### HTTP hooks: managed-settings allowlist precedence and dropped length headers\n\nHTTP hook allowlists in other settings files no longer apply to managed hooks, and Content-Length and Transfer-Encoding headers are ignored with a warning\n\n**Unclear.** It is not clear whether Claude Code now behaves this way or only the setting descriptions changed.\n\n**What**\n\nHooks are commands or web requests that Claude Code runs automatically at set moments, and an HTTP hook is one that sends a web request. This release changes several things about them:\n\n- `httpHookAllowedUrls` and `httpHookAllowedEnvVars` now come with an extra sentence in their descriptions. Where managed settings, the settings an organization sets centrally, do not set the list, lists in other settings files do not apply to managed or managed-plugin hooks.\n\n- A hook header named `content-length` or `transfer-encoding` is now ignored, and Claude Code shows a warning. Claude Code works out the request's length from its body. Before this release, every configured header was sent exactly as written.\n\n- The policy-settings handling for `allowedHttpHookUrls` and `httpHookAllowedEnvVars` was reworked.\n\n**Why**\n\nOrganizations that use managed settings should check how they rely on these allowlists, because a list in a user or project settings file no longer reaches managed hooks. A hook that sets either length header will now have that header left out.\n\n- Area: Hooks\n- Names: `httpHookAllowedUrls`, `httpHookAllowedEnvVars`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: both\n- Heads-up: yes"}