diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Rest/Controller.php --- a/web/lib/Zend/Rest/Controller.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Rest/Controller.php Thu Mar 21 19:50:53 2013 +0100 @@ -14,9 +14,9 @@ * * @category Zend * @package Zend_Rest - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Controller.php 20096 2010-01-06 02:05:09Z bkarwin $ + * @version $Id: Controller.php 25024 2012-07-30 15:08:15Z rob $ */ /** Zend_Controller_Action */ @@ -29,7 +29,7 @@ * @category Zend * @package Zend_Rest * @see Zend_Rest_Route - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ abstract class Zend_Rest_Controller extends Zend_Controller_Action @@ -48,6 +48,13 @@ abstract public function getAction(); /** + * The head action handles HEAD requests and receives an 'id' parameter; it + * should respond with the server resource state of the resource identified + * by the 'id' value. + */ + abstract public function headAction(); + + /** * The post action handles POST requests; it should accept and digest a * POSTed resource representation and persist the resource state. */ @@ -67,4 +74,4 @@ */ abstract public function deleteAction(); -} \ No newline at end of file +}