Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 web.py 应用程序的一项安全测试说,
检测到 HTTP 跟踪支持
我知道这允许这将导致跨站点跟踪。但是如何HTTP TRACE在我的 web.py 应用程序中禁用它?
HTTP TRACE
web.py 本身不支持 TRACE。最好检查您的安全测试仪。您可以curl -X TRACE在您的网站上使用类似的内容进行验证:
curl -X TRACE
$ curl -v -X TRACE http://example.com <html> <head><title>405 Not Allowed</title></head> ...