New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to get response without headers #13101

Closed
benfavre opened this Issue Sep 29, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@benfavre

benfavre commented Sep 29, 2017

Could you please wrap theses with an if statement so I can wrap the application class to emulate PSR-7
Right now I have no easy way of only getting the reponse back and handling it as i please.

https://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/application.zep#L394
https://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/application.zep#L395

@sergeyklay sergeyklay added this to the 3.3.x milestone Oct 2, 2017

@sergeyklay sergeyklay self-assigned this Oct 2, 2017

@stamster

This comment has been minimized.

Show comment
Hide comment
@stamster

stamster Oct 6, 2017

Contributor

Indeed this might be useful (actually required) to integrate ReactPHP with Phalcon. So Phalcon would not send raw HTTP headers nor body but rather return entire Response object instead.

Contributor

stamster commented Oct 6, 2017

Indeed this might be useful (actually required) to integrate ReactPHP with Phalcon. So Phalcon would not send raw HTTP headers nor body but rather return entire Response object instead.

@sergeyklay

This comment has been minimized.

Show comment
Hide comment
@sergeyklay

sergeyklay Nov 23, 2017

Member

Implemented in the 3.3.x branch. Thank you for contributing.

Member

sergeyklay commented Nov 23, 2017

Implemented in the 3.3.x branch. Thank you for contributing.

@sergeyklay sergeyklay closed this Nov 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment