http status code 206

206 Status Code Explained

A status code of 206 is a response to a request for part of a document. This is used by advanced caching tools, when a user agent requests only a small part of a page, and just that section is returned.


Why it Occurs

The HTTP 206 status code occurs if the response is the result of an If-Range request that used a strong cache validator. The response SHOULD NOT include other entity-headers. If the response is the result of an If-Range request that used a weak validator, the response MUST NOT include other entity-headers; this prevents inconsistencies between cached entity-bodies and updated headers.


What it Means

The response MUST include all of the entity-headers that would have been returned with a 200 (OK) response to the same request.A cache MUST NOT combine a 206 response with other previously cached content if the ETag or Last-Modified headers do not match exactly,A cache that does not support the Range and Content-Range headers MUST NOT cache 206 (Partial) responses.


http server response code 206
206-Partial Content is used in response to a request that includes a header specifying that only part of the content is required. For example, your WHOIS tool only needs to see the HTTP header, 
and perhaps the <HEAD> section of the page -- it doesn't need to load the entire page to perform its function. So it only asks for the first part of the page, and your server complies and indicates
 that it did so by returning the 206 code.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值