Skip to content


Routes transform the request path, but do not invert the change in response paths. #462

cweider opened this Issue · 1 comment

3 participants


For instance, with '.use('/the/path, handle)' the handler will see a request for /the/path/to/resource as /to/resource. If the handler responds with redirect to /other/resource nothing is done by the framework to transform this too /the/path/other/resource. I can see arguments either way, my question is whether or not the existing behavior is intentional.

Sencha Labs member
tj commented

that is intentional, though Express for example uses this knowledge in res.redirect(), but I wouldn't want to go poking around in res.setHeader() and changing values etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.