removed debug code
This commit is contained in:
parent
419be435d0
commit
a689924ac8
@ -92,10 +92,9 @@ class AsyncHttpRequest implements UsageInformationAble {
|
|||||||
array_push($this->headers, 'Expect:');
|
array_push($this->headers, 'Expect:');
|
||||||
array_push($this->headers, 'Accept-Charset: utf-8');
|
array_push($this->headers, 'Accept-Charset: utf-8');
|
||||||
|
|
||||||
//$content = str_replace(array("\r", "\n"), '', $this->content);
|
|
||||||
$content = $this->content;
|
$content = $this->content;
|
||||||
if ($this->compression) {
|
if ($this->compression) {
|
||||||
$content = zlib_encode($this->content, ZLIB_ENCODING_GZIP);
|
$content = gzencode($this->content);
|
||||||
array_push($this->headers, 'Content-Encoding: gzip');
|
array_push($this->headers, 'Content-Encoding: gzip');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
|
|||||||
/*
|
/*
|
||||||
* Constants
|
* Constants
|
||||||
*/
|
*/
|
||||||
const VERSION = '0.224';
|
const VERSION = '0.225';
|
||||||
const API_VERSION = '2013-04-16';
|
const API_VERSION = '2013-04-16';
|
||||||
const MIN_DEDIVERSION = '2017-05-03_21_00';
|
const MIN_DEDIVERSION = '2017-05-03_21_00';
|
||||||
const SCRIPT_TIMEOUT = 40;
|
const SCRIPT_TIMEOUT = 40;
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user