[PR #307] [MERGED] Accept Incorrectly Capitalized Content-Range Headers as Backup #313

Closed
opened 2026-02-27 08:12:42 +03:00 by kerem · 0 comments
Owner

📋 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: mainHead: patch-1


📝 Commits (1)

  • 4f796e6 Accept 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.

## 📋 Pull Request Information **Original PR:** https://github.com/kokarare1212/librespot-python/pull/307 **Author:** [@Googolplexed0](https://github.com/Googolplexed0) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 7/29/2025 **Merged by:** [@kokarare1212](https://github.com/kokarare1212) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`4f796e6`](https://github.com/kokarare1212/librespot-python/commit/4f796e640c953dd544d5f36512307c386d3ee67e) Accept Incorrectly Capitalized Content-Range Headers ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `librespot/audio/__init__.py` (+2 -0) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:12:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot-python-kokarare1212#313
No description provided.