From 4e5c044d8821d087ed45b76ba35f5fa06d8b7161 Mon Sep 17 00:00:00 2001
From: Andrii Dembitskyi <andrew.dembitskiy@gmail.com>
Date: Thu, 8 Aug 2024 00:07:56 +0300
Subject: [PATCH 1/3] Revert "Replace httpbin.org by httpbingo.org"

This reverts commit 73683bb7e2f886b4a41ad44bbb2b533f570662e1.
---
 src/HttpFeatureTest.php | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/HttpFeatureTest.php b/src/HttpFeatureTest.php
index 60b23cc..fd4836f 100644
--- a/src/HttpFeatureTest.php
+++ b/src/HttpFeatureTest.php
@@ -33,7 +33,7 @@ public function testGet()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'https://httpbingo.org/get'
+            'http://httpbin.org/get'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -49,7 +49,7 @@ public function testPost()
         $testData = 'Test data';
         $request = self::$messageFactory->createRequest(
             'POST',
-            'https://httpbingo.org/post',
+            'http://httpbin.org/post',
             ['Content-Length' => strlen($testData)],
             $testData
         );
@@ -70,7 +70,7 @@ public function testPatch()
     {
         $request = self::$messageFactory->createRequest(
             'PATCH',
-            'https://httpbingo.org/patch'
+            'http://httpbin.org/patch'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -85,7 +85,7 @@ public function testPut()
     {
         $request = self::$messageFactory->createRequest(
             'PUT',
-            'https://httpbingo.org/put'
+            'http://httpbin.org/put'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -100,7 +100,7 @@ public function testDelete()
     {
         $request = self::$messageFactory->createRequest(
             'DELETE',
-            'https://httpbingo.org/delete'
+            'http://httpbin.org/delete'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -116,7 +116,7 @@ public function testAutoSetContentLength()
         $testData = 'Test data';
         $request = self::$messageFactory->createRequest(
             'POST',
-            'https://httpbingo.org/post',
+            'http://httpbin.org/post',
             [],
             $testData
         );
@@ -137,7 +137,7 @@ public function testEncoding()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'https://httpbingo.org/encoding/utf8'
+            'http://httpbin.org/encoding/utf8'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -153,7 +153,7 @@ public function testGzip()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'https://httpbingo.org/gzip'
+            'http://httpbin.org/gzip'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -169,7 +169,7 @@ public function testDeflate()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'https://httpbingo.org/deflate'
+            'http://httpbin.org/deflate'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -185,7 +185,7 @@ public function testRedirect()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'https://httpbingo.org/redirect/1'
+            'http://httpbin.org/redirect/1'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -200,7 +200,7 @@ public function testChunked()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'https://httpbingo.org/stream/1'
+            'http://httpbin.org/stream/1'
         );
 
         $response = $this->createClient()->sendRequest($request);

From f80925756577b312a252c5a8d66671f9a4909c85 Mon Sep 17 00:00:00 2001
From: Andrii Dembitskyi <andrew.dembitskiy@gmail.com>
Date: Thu, 8 Aug 2024 00:15:37 +0300
Subject: [PATCH 2/3] Switch to https for `httpbin`

---
 src/HttpFeatureTest.php | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/HttpFeatureTest.php b/src/HttpFeatureTest.php
index fd4836f..a8faf33 100644
--- a/src/HttpFeatureTest.php
+++ b/src/HttpFeatureTest.php
@@ -33,7 +33,7 @@ public function testGet()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'http://httpbin.org/get'
+            'https://httpbin.org/get'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -49,7 +49,7 @@ public function testPost()
         $testData = 'Test data';
         $request = self::$messageFactory->createRequest(
             'POST',
-            'http://httpbin.org/post',
+            'https://httpbin.org/post',
             ['Content-Length' => strlen($testData)],
             $testData
         );
@@ -70,7 +70,7 @@ public function testPatch()
     {
         $request = self::$messageFactory->createRequest(
             'PATCH',
-            'http://httpbin.org/patch'
+            'https://httpbin.org/patch'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -85,7 +85,7 @@ public function testPut()
     {
         $request = self::$messageFactory->createRequest(
             'PUT',
-            'http://httpbin.org/put'
+            'https://httpbin.org/put'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -100,7 +100,7 @@ public function testDelete()
     {
         $request = self::$messageFactory->createRequest(
             'DELETE',
-            'http://httpbin.org/delete'
+            'https://httpbin.org/delete'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -116,7 +116,7 @@ public function testAutoSetContentLength()
         $testData = 'Test data';
         $request = self::$messageFactory->createRequest(
             'POST',
-            'http://httpbin.org/post',
+            'https://httpbin.org/post',
             [],
             $testData
         );
@@ -137,7 +137,7 @@ public function testEncoding()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'http://httpbin.org/encoding/utf8'
+            'https://httpbin.org/encoding/utf8'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -153,7 +153,7 @@ public function testGzip()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'http://httpbin.org/gzip'
+            'https://httpbin.org/gzip'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -169,7 +169,7 @@ public function testDeflate()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'http://httpbin.org/deflate'
+            'https://httpbin.org/deflate'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -185,7 +185,7 @@ public function testRedirect()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'http://httpbin.org/redirect/1'
+            'https://httpbin.org/redirect/1'
         );
 
         $response = $this->createClient()->sendRequest($request);
@@ -200,7 +200,7 @@ public function testChunked()
     {
         $request = self::$messageFactory->createRequest(
             'GET',
-            'http://httpbin.org/stream/1'
+            'https://httpbin.org/stream/1'
         );
 
         $response = $this->createClient()->sendRequest($request);

From 85ec34af4f38a8a684be5fc38ee7f9951e584c45 Mon Sep 17 00:00:00 2001
From: Andrii Dembitskyi <andrew.dembitskiy@gmail.com>
Date: Thu, 8 Aug 2024 00:16:03 +0300
Subject: [PATCH 3/3] Add changelog entry for switching on `httpbin.org`

---
 CHANGELOG.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b26b596..0396e0d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [3.1.1] - 2024-xx-xx
+
+- Switched to `httpbin.org` for tests
+
 ## [3.1.0] - 2024-03-05
 
 - Removed builds for abandoned guzzle5 and guzzle6 adapters