From c3179672b1ba34ddd8652aab7a05657e97b3ef25 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 14 Jan 2026 16:42:36 +0000 Subject: [PATCH] docs: update R2 CORS policy to include POST and HEAD Updated the Cloudflare R2 setup instructions in `content/upload-content.md` to include `POST` and `HEAD` in the `AllowedMethods` CORS configuration. This is necessary for multipart uploads (which use POST) and verification checks (which use HEAD) to function correctly. --- content/upload-content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/upload-content.md b/content/upload-content.md index 3d469920..70691b3e 100644 --- a/content/upload-content.md +++ b/content/upload-content.md @@ -31,7 +31,7 @@ To allow your browser to upload files directly to Cloudflare, you must allow Cro [ { "AllowedOrigins": ["*"], - "AllowedMethods": ["GET", "PUT", "DELETE"], + "AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"], "AllowedHeaders": ["*"], "ExposeHeaders": ["ETag", "Content-Length", "Content-Range", "Accept-Ranges"], "MaxAgeSeconds": 3600