[PR #123] [MERGED] Ignore "200 Connection established" header group that comes from proxy #259

Closed
opened 2026-02-27 19:26:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jwilsson/spotify-web-api-php/pull/123
Author: @JasonReading
Created: 5/1/2018
Status: Merged
Merged: 5/3/2018
Merged by: @jwilsson

Base: masterHead: master


📝 Commits (1)

  • 65f553c Ignore "200 Connection established" header group that comes from proxied requests

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 src/Request.php (+5 -0)

📄 Description

When requests are proxied through an HTTP proxy, the response come back with two groups of headers as below.

This pull request checks for this and strips it before continuing the processing in the Request class.

HTTP/1.1 200 Connection established

HTTP/1.1 200 OK
...

🔄 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/jwilsson/spotify-web-api-php/pull/123 **Author:** [@JasonReading](https://github.com/JasonReading) **Created:** 5/1/2018 **Status:** ✅ Merged **Merged:** 5/3/2018 **Merged by:** [@jwilsson](https://github.com/jwilsson) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`65f553c`](https://github.com/jwilsson/spotify-web-api-php/commit/65f553ce3310a97dc7fc35c71920994bf1815306) Ignore "200 Connection established" header group that comes from proxied requests ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/Request.php` (+5 -0) </details> ### 📄 Description When requests are proxied through an HTTP proxy, the response come back with two groups of headers as below. This pull request checks for this and strips it before continuing the processing in the Request class. ``` HTTP/1.1 200 Connection established HTTP/1.1 200 OK ... ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:26:51 +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/spotify-web-api-php#259
No description provided.