removed debug code

This commit is contained in:
kremsy 2017-07-04 12:52:47 +02:00
parent 419be435d0
commit a689924ac8
3 changed files with 6 additions and 32 deletions

View File

@ -92,10 +92,9 @@ class AsyncHttpRequest implements UsageInformationAble {
array_push($this->headers, 'Expect:');
array_push($this->headers, 'Accept-Charset: utf-8');
//$content = str_replace(array("\r", "\n"), '', $this->content);
$content = $this->content;
if ($this->compression) {
$content = zlib_encode($this->content, ZLIB_ENCODING_GZIP);
$content = gzencode($this->content);
array_push($this->headers, 'Content-Encoding: gzip');
}

View File

@ -52,7 +52,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
/*
* Constants
*/
const VERSION = '0.224';
const VERSION = '0.225';
const API_VERSION = '2013-04-16';
const MIN_DEDIVERSION = '2017-05-03_21_00';
const SCRIPT_TIMEOUT = 40;

File diff suppressed because one or more lines are too long