mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2026-04-25 08:35:49 +03:00
[PR #307] [MERGED] Accept Incorrectly Capitalized Content-Range Headers as Backup #313
Labels
No labels
bug
dependencies
duplicate
enhancement
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot-python-kokarare1212#313
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/kokarare1212/librespot-python/pull/307
Author: @Googolplexed0
Created: 7/28/2025
Status: ✅ Merged
Merged: 7/29/2025
Merged by: @kokarare1212
Base:
main← Head:patch-1📝 Commits (1)
4f796e6Accept Incorrectly Capitalized Content-Range Headers📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
librespot/audio/__init__.py(+2 -0)📄 Description
Some external podcast urls return a valid CDN response, which is not accepted due to the "Content-Range" header being all lowercase as "content-range". This tries the lowercase version of the header as a backup if no Content-Range header is found initially.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.