“If-Modified-Since” Header?

只愿长相守 提交于 2019-12-25 00:29:26

问题


I wanted to know how to check the server response of "If-Modified-Since" header sent by my browser. I am not sure how do I achieve it. Any help would be a great deal to me, Thanks.


回答1:


Check the HTTP response code (e.g., using curl). If the resource is not modified you get a 304 response, else, in the non-error case, a 200.



来源:https://stackoverflow.com/questions/6661924/if-modified-since-header

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!