You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use Micro Applications,
I don't want to send the response automatically,
so I get the values by method "$app->getReturnedValue()" and put them in "Response Content".
At the last, send them by manual.
But I got a strange question, If I return an array in handler, everything is be OK, for strings, it will be send automatically and throw exception below:
//
hello world<br />
<b>Fatal error</b>: Uncaught Phalcon\Http\Response\Exception: Response was already sent in phalcon/http/response.zep:611
Stack trace:
#0 /data/web/open-leo/src/app/public/index.php(32): Phalcon\Http\Response->send()#1 {main}
thrown in <b>phalcon/http/response.zep</b> on line <b>611</b><br />
Details
Phalcon version: 3.2.0
PHP Version: 7.0.19-1
Operating System: debian 9
Installation type: Compiling from source
Server: Nginx
The text was updated successfully, but these errors were encountered:
when I use Micro Applications,
I don't want to send the response automatically,
so I get the values by method "$app->getReturnedValue()" and put them in "Response Content".
At the last, send them by manual.
But I got a strange question, If I return an array in handler, everything is be OK, for strings, it will be send automatically and throw exception below:
Details
The text was updated successfully, but these errors were encountered: