何时确定HTTP日期响应标头? [英] When is HTTP Date response header determined?

查看:54
本文介绍了何时确定HTTP日期响应标头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Date 标头代表服务器开始处理请求的时间还是开始发送响应的时间?是否取决于情况或平台?

Does the Date header represent the moment when the server started processing the request, or the moment it started sending response back? Does it depend on situations or platforms?

推荐答案

来自来源:

当生成日期标头字段时,发件人应生成其字段值作为日期和时间的最佳可用近似值消息生成.从理论上讲,日期应代表在生成有效负载之前的那一刻.实际上,日期可以在消息发起期间的任何时间生成.

When a Date header field is generated, the sender SHOULD generate its field value as the best available approximation of the date and time of message generation. In theory, the date ought to represent the moment just before the payload is generated. In practice, the date can be generated at any time during message origination.

这篇关于何时确定HTTP日期响应标头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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