From eb66ffccaab05b3f7944c10397dbc499e913f914 Mon Sep 17 00:00:00 2001
From: nicolus <nbailly@previsite.com>
Date: Mon, 21 Oct 2019 13:40:26 +0200
Subject: [PATCH] Fix bug where getContentType would return
 "application/json\r" instead of "application/json"

---
 library/Phue/Transport/Adapter/Streaming.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Phue/Transport/Adapter/Streaming.php b/library/Phue/Transport/Adapter/Streaming.php
index 25f6cb6..1a5c682 100644
--- a/library/Phue/Transport/Adapter/Streaming.php
+++ b/library/Phue/Transport/Adapter/Streaming.php
@@ -112,7 +112,7 @@ public function getHeaders()
         $meta_data = stream_get_meta_data($this->fileStream);
         return implode(
             $meta_data['wrapper_data'],
-            "\r\n"
+            "\n"
         );
     }