{"version":"2.1.326","anchor":"presigned-put-header-validation-accepts-content-type","canonical_anchor":"presigned-put-header-validation-accepts-content-type","heading":"Uploads to pre-signed links can now include a content type","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/presigned-put-header-validation-accepts-content-type","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Uploads to pre-signed links can now include a content type\n\nPre-signed upload requests may now carry a content-type header alongside the auth header, and other or repeated headers are refused\n\n**What**\n\nA pre-signed link is a web address that already holds permission to upload one file. Claude Code checks the headers sent with such an upload. A header is a labelled piece of information attached to a web request. The check used to allow only one header. It now allows:\n\n- The authorisation header.\n\n- Optionally, a content-type header saying what kind of file it is. Claude Code checks its value and uses it for the upload.\n\nAny other header is refused, and so is the same header name given twice, with letter case ignored.\n\n**Why**\n\nThis is part of how Claude Code uploads files. Uploads can now say what kind of file they carry while still refusing unexpected headers.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}