Browse Source

Not sending the response in beforeRender, better let Dispatcher do its work

Jose Lorenzo Rodriguez 14 years ago
parent
commit
5df2a0957f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      lib/Cake/Controller/Component/RequestHandlerComponent.php

+ 0 - 1
lib/Cake/Controller/Component/RequestHandlerComponent.php

@@ -253,7 +253,6 @@ class RequestHandlerComponent extends Component {
 	public function beforeRender($controller) {
 		$shouldCheck = $this->settings['checkHttpCache'];
 		if ($shouldCheck && $this->response->checkNotModified($this->request)) {
-			$this->response->send();
 			return false;
 		}
 	}