what is X-Cascade header

前端 未结 1 592
旧时难觅i
旧时难觅i 2021-02-19 23:27

Rack documentation says that

File servers support X-Cascade header

rack-mount says that

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


        
相关标签:
1条回答
  • 2021-02-20 00:03

    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 讨论(0)
提交回复
热议问题