Syntax for ETag?

前端 未结 4 880
滥情空心
滥情空心 2020-12-09 15:44

Redbot reports that my webpage has invalid header:

The ETag header\'s syntax isn\'t valid.

My headers are set to:



        
4条回答
  •  攒了一身酷
    2020-12-09 16:07

    "An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL". This means it can be pretty much anything.

    The problem is probably the syntax, use:

    ETag: "4ae413bd"
    

提交回复
热议问题