Skip to content

Fix Apple Music library additions returning 411 - #29

Merged
chriopter merged 1 commit into
mainfrom
fix/apple-library-length
Oct 19, 2026
Merged

chriopter merged 1 commit into
mainfrom
fix/apple-library-length

Conversation

@chriopter

Copy link
Copy Markdown
Owner

Adding catalog songs, albums or playlists to Apple Music's library could fail with 411 Length Required. Send Content-Length: 0 for POST requests without a body; library additions carry their IDs in the query string.

The regression test reproduces the 411 before the fix and checks successful empty POSTs for all three resource types afterward.

Validation: all 32 Apple Music tests passed, cargo fmt --all --check, cargo clippy --workspace --all-targets --locked -- -D warnings, git diff --check.

@chriopter
chriopter enabled auto-merge (squash) October 19, 2026 11:27
@chriopter
chriopter merged commit 1d85de0 into main Oct 19, 2026
2 checks passed
@chriopter
chriopter deleted the fix/apple-library-length branch October 19, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant