protected function OPTIONS() { /** * It's just "lorem ipsum" for OPTIONS method. * Please, override this method and return documentation in response * @link http://zacstewart.com/2012/04/14/http-options-method.html * @link https://plus.google.com/113297466675790881291/posts/MjVwjudDNYo */ $this->Response->setHeader('Allow', 'OPTIONS, GET, HEAD, POST, PUT, PATCH, DELETE, TRACE'); }