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

Provide a "Request.continue()" that performs the original request #149

Open
MP0w opened this issue Nov 30, 2016 · 0 comments
Open

Provide a "Request.continue()" that performs the original request #149

MP0w opened this issue Nov 30, 2016 · 0 comments
Assignees
Projects

Comments

@MP0w
Copy link
Member

MP0w commented Nov 30, 2016

As discussed here #140 (comment) and here #140 (comment)

This would let you fallback on the original response.
I want to discuss to understand if we should add this to Kakapo or not.

example

router.get("/users/:id") { request in
  if wantToHandleIt {
     return something  
  }
  return request.continue()
}

API naming could also be Request.original() or something like that.

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

No branches or pull requests

2 participants