From abfd87e601ed1f1c85bb130e297e20443ae0e547 Mon Sep 17 00:00:00 2001 From: Sid Roberts Date: Wed, 16 Aug 2017 06:34:43 +0900 Subject: [PATCH] [4.0.0] Response headers and cookies are no longer prematurely sent (#12378) --- CHANGELOG-4.0.md | 1 + phalcon/mvc/application.zep | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CHANGELOG-4.0.md b/CHANGELOG-4.0.md index e8a2529c839..a71514d9748 100644 --- a/CHANGELOG-4.0.md +++ b/CHANGELOG-4.0.md @@ -1,2 +1,3 @@ # [4.0.0](https://github.com/phalcon/cphalcon/releases/tag/v4.0.0) (2017-XX-XX) - MVC Application and Router now must have a URI to process [#12380](https://github.com/phalcon/cphalcon/pull/12380) +- Response headers and cookies are no longer prematurely sent [#12378](https://github.com/phalcon/cphalcon/pull/12378) diff --git a/phalcon/mvc/application.zep b/phalcon/mvc/application.zep index 4b927f49a47..378f713be36 100644 --- a/phalcon/mvc/application.zep +++ b/phalcon/mvc/application.zep @@ -388,12 +388,6 @@ class Application extends BaseApplication eventsManager->fire("application:beforeSendResponse", this, response); } - /** - * Headers and Cookies are automatically sent - */ - response->sendHeaders(); - response->sendCookies(); - /** * Return the response */