HTTP:etag的最大长度 [英] HTTP: max length of etag

查看:162
本文介绍了HTTP:etag的最大长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTTP协议是否指定了ETag的最大长度?

Does the HTTP protocol specify a max length for the ETag?

推荐答案


14.19 ETag



ETag response-header字段提供所请求变体的实体标签的当前值。与实体标签一起使用的标头在 14.24 部分中进行了描述。 , 14.26 14.44 。实体标签可用于与来自同一资源的其他实体进行比较(参见 13.3.3 )。

14.19 ETag

The ETag response-header field provides the current value of the entity tag for the requested variant. The headers used with entity tags are described in sections 14.24, 14.26 and 14.44. The entity tag MAY be used for comparison with other entities from the same resource (see section 13.3.3).

    ETag = "ETag" ":" entity-tag

示例:

    ETag: "xyzzy"
    ETag: W/"xyzzy"
    ETag: ""


这篇关于HTTP:etag的最大长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆