/**
* Gzip (encode) the HTTP response and write to output.
* @param string $strBody The content that should be in the response.
* @param string $strContentType The MIME type of the content.
*/
public static function send($strBody, $strContentType = "text/html")
{
$objEncoder = new \HTTP_Encoder(array("content" => $strBody, "type" => $strContentType));
$objEncoder->encode();
$objEncoder->sendAll();
exit;
}