[BridgeAbstract] Fix typos
This commit is contained in:
parent
3438b96197
commit
ac3a2b8e6e
1 changed files with 3 additions and 3 deletions
|
@ -369,7 +369,7 @@ abstract class BridgeAbstract implements BridgeInterface {
|
|||
if(stristr($header, 'content-encoding')){
|
||||
switch(true){
|
||||
case stristr($header, 'gzip'):
|
||||
$content = gzinflate( substr($content,10,-8));
|
||||
$content = gzinflate(substr($content, 10, -8));
|
||||
break;
|
||||
case stristr($header, 'compress'):
|
||||
//TODO
|
||||
|
@ -377,12 +377,12 @@ abstract class BridgeAbstract implements BridgeInterface {
|
|||
//TODO
|
||||
case stristr($header, 'brotli'):
|
||||
//TODO
|
||||
returnServerError($header . '=> Not implemented yet');
|
||||
$this->returnServerError($header . '=> Not implemented yet');
|
||||
break;
|
||||
case stristr($header, 'identity'):
|
||||
break;
|
||||
default:
|
||||
returnServerError($header . '=> Unknown compression');
|
||||
$this->returnServerError($header . '=> Unknown compression');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue