From 494a5e773eee1bedde4695c91e83adacc1fbf51d Mon Sep 17 00:00:00 2001 From: Bretton Date: Sat, 29 Nov 2025 20:22:06 -0800 Subject: [PATCH] test: add clarifying comment for PDS auth scheme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add comment clarifying that PDS uploadBlob calls use Bearer scheme (standard atproto server auth) rather than DPoP (AppView client auth). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tests/integration/blob_upload_e2e_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/blob_upload_e2e_test.go b/tests/integration/blob_upload_e2e_test.go index 4a22299..495e317 100644 --- a/tests/integration/blob_upload_e2e_test.go +++ b/tests/integration/blob_upload_e2e_test.go @@ -466,6 +466,7 @@ func TestBlobUpload_PDS_MockServer(t *testing.T) { assert.Equal(t, "POST", r.Method, "Should be POST request") assert.Equal(t, "/xrpc/com.atproto.repo.uploadBlob", r.URL.Path, "Should hit uploadBlob endpoint") assert.Equal(t, "image/png", r.Header.Get("Content-Type"), "Should have correct content type") + // Note: This is a PDS call, so it uses Bearer (not DPoP) assert.Contains(t, r.Header.Get("Authorization"), "Bearer ", "Should have auth header") // Return mock blob reference -- 2.51.2