什么是 X-Cascade 标头 [英] what is X-Cascade header

查看:45
本文介绍了什么是 X-Cascade 标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

机架文档

File servers support X-Cascade header

机架安装

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

什么是 X-Cascade?我找不到关于 X-Cascade 的任何文档.

What is X-Cascade ? I could not find any documentation on X-Cascade.

推荐答案

服务器会将 X-Cascade 标头设置为pass"以继续尝试其他路由.这允许嵌套/堆叠多个路由.

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.

这篇关于什么是 X-Cascade 标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆