From a16ddc7bb4f2c75255da5eff0eeb546b9d290554 Mon Sep 17 00:00:00 2001 From: kremsy Date: Fri, 9 May 2014 09:39:32 +0200 Subject: [PATCH] filereader cleanup --- application/core/Files/AsynchronousFileReader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/Files/AsynchronousFileReader.php b/application/core/Files/AsynchronousFileReader.php index 067c7a50..f0bf35e6 100644 --- a/application/core/Files/AsynchronousFileReader.php +++ b/application/core/Files/AsynchronousFileReader.php @@ -154,9 +154,9 @@ class AsynchronousFileReader { ->set(CURLOPT_POST, true) //post field ->set(CURLOPT_POSTFIELDS, $content) //post content field ->set(CURLOPT_HTTPHEADER, $header) // - //->set(CURLOPT_HTTPHEADER, array("Content-Type: " . $contentType, "Keep-Alive: 300", "Connection: Keep-Alive")) // ->set(CURLOPT_USERAGENT, 'ManiaControl v' . ManiaControl::VERSION) // - ->set(CURLOPT_RETURNTRANSFER, true)->set(CURLOPT_TIMEOUT, 10); + ->set(CURLOPT_RETURNTRANSFER, true) // + ->set(CURLOPT_TIMEOUT, 10); $request->addListener('complete', function (Event $event) use (&$function) { /** @var Response $response */