Get the Content-Encoding of the EntityBody
bool|string
Overrides EntityBodyInterface::getContentEncoding
public function getContentEncoding() {
return strtr($this->contentEncoding, array(
'zlib.deflate' => 'gzip',
'bzip2.compress' => 'compress',
)) ?: false;
}