lookup> Max-Forwards

Max-Forwards

provides a mechanism with the TRACE and OPTIONS methods to limit the number of times that the request is forwarded by proxies.

请求头RFC7231#5.1.2
NameMax-Forwards
Type请求头
SpecificationRFC7231#5.1.2

provides a mechanism with the TRACE and OPTIONS methods to limit the number of times that the request is forwarded by proxies.

Max-Forwards: 10

RFC7231#5.1.2

What does the Max-Forwards header do?

provides a mechanism with the TRACE and OPTIONS methods to limit the number of times that the request is forwarded by proxies.

Is Max-Forwards a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.

Related methods