Skip to content
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

Make Payload.respond() send given parameter, not this. #2324

Merged
merged 2 commits into from
Nov 10, 2017

Conversation

surma
Copy link
Contributor

@surma surma commented Nov 6, 2017

No description provided.

mfelsche
mfelsche previously approved these changes Nov 6, 2017
@mfelsche mfelsche dismissed their stale review November 6, 2017 16:15

response needs to be consumed

Copy link
Contributor

@mfelsche mfelsche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, i missed that earlier

@@ -248,7 +248,7 @@ class trn Payload
Start sending a response from the server to the client.
"""
try
(session as HTTPSession)(this)
(session as HTTPSession)(response')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it must be consume response'

@surma
Copy link
Contributor Author

surma commented Nov 6, 2017

My bad. Fixed!

@surma surma force-pushed the payload-respond-fix branch from 57683cb to 34523e3 Compare November 6, 2017 21:33
@mfelsche mfelsche added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Nov 7, 2017
@Theodus Theodus merged commit ddcdce0 into ponylang:master Nov 10, 2017
ponylang-main added a commit that referenced this pull request Nov 10, 2017
@Theodus
Copy link
Contributor

Theodus commented Nov 10, 2017

Thanks @surma!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants