java ehcache SimpleCacheHeaderSpageCachingFilter添加XXSSProtection和XContentTypeOptions
我在我的网站上配置了SimpleCacheHeaderSpageCachingFilter。xml,它工作得很好,但我该如何向标题中添加其他内容,如:
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
我去了http://ehcache.org/documentation/user-guide/web-caching了解更多信息,但运气不好
共 (0) 个答案