Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Empty response has been changed and can't understand new structure in 2.x #505

Closed
ascaler opened this issue Jan 18, 2014 · 1 comment
Closed
Labels

Comments

@ascaler
Copy link

ascaler commented Jan 18, 2014

I am sure its somewhere in documentation that i can't find or understand but before I use to do something like this:

var response = new Hapi.response.Empty();
response.code(200);
return request.reply(response);

And now this is not working at all and it hangs at first line. I just did upgrade to 2.x and documentation or examples are not helping in this. Any comments or help?

@ckarlof
Copy link
Contributor

ckarlof commented Jan 18, 2014

This is not the Hapi repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants