开发者

what is X-Cascade header

Rack documentation says that

File servers support X-Cascade header

rack-mount says that

Rack::Mount supports Rack’s +X-Cascade+ convention

What is X-Cascade ? I could not find any documentation on X-Cascad开发者_开发知识库e.


The server will set the X-Cascade header to "pass" to continue to try other routes. This allows for multiple routes to be nested/stacked.

The general purpose of this is to pass the request on to other middlewares to handle the request if that specific handler doesn't handle it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜