From 45c3dcb636e9e63ab17a405491a234b74df7af9b Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Fri, 6 Apr 2018 20:24:43 +0200 Subject: [PATCH] [VkBridge] Simplify header specification --- bridges/VkBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index d8099a5d..e1529569 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -109,7 +109,7 @@ class VkBridge extends BridgeAbstract { ini_set('user-agent', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0'); - $header = array("Accept-language: en\r\nCookie: remixlang=3\r\n"); + $header = array('Accept-language: en', 'Cookie: remixlang=3'); return getContents($this->getURI(), $header); }