Various classes to ease HTTP handling.
<?php
$objResponse = new Haste\Http\Response\Response();
$objResponse->send();
<?php
$objResponse = new Haste\Http\Response\Response('Foobar content', 400);
$objResponse->send();
You can use different types of responses.
<?php
$objResponse = new Haste\Http\Response\Response();
$objResponse = new Haste\Http\Response\JsonResponse();
$objResponse = new Haste\Http\Response\HtmlResponse();
$objResponse = new Haste\Http\Response\XmlResponse();