Send bodyless project trail requests without a JSON Content-Type

Commit

Soph7h ago

ProjectTrailRequest wrapped a nil body in an empty bytes.Reader, so the client saw a non-nil body and declared Content-Type: application/json on every GET and DELETE (reads, number lookups, unlink, message deletion). Pass a nil reader when there is no payload.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M48ZZBT479B4AG841G4CX3J2

Checkpoints

Refactor Trail Models for Project Migration

Claude CodeOpus 5.5
View session
Checkpoint 1