为什么 HAProxy 默认使用 HTTP OPTIONS 进行健康检查?

Why does HAProxy use HTTP OPTIONS for healtchecks, by default?

根据 HAProxy Configuration Reference,HAProxy 使用 HTTP OPTIONS 请求进行 HTTP 健康检查,默认情况下,option httpchk

因为我认为 Web 服务器是否提供 HTTP OPTIONS 处理程序取决于实现,我想知道为什么 HAProxy 默认使用这种请求类型。有没有合理的技术背景?

他们在您的文档中写下推理 link

<method> ... When not set, the "OPTIONS" method is used, as it generally requires low server processing and is easy to filter out from the logs. ...