mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1552] [MERGED] Fix: Fixup how the headers are set in spclient to prevent deleting headers #1435
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1435
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1552
Author: @photovoltex
Created: 8/25/2025
Status: ✅ Merged
Merged: 8/26/2025
Merged by: @roderickvd
Base:
dev← Head:fix/fixup-missing-events📝 Commits (2)
941a1d4fix: fixup missing event6a8b81echore: update changelog📊 Changes
2 files changed (+7 additions, -2 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
core/src/spclient.rs(+5 -2)📄 Description
Instead of setting the header later I overwrite the headers in a loop.
insertseems to replace the existing keys, so the headers given from the outside are still prioritized, and headers set in the builder are not removed.Fixes #1551
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.