提交 b3165ceb 编写于 作者: weixin_43283383's avatar weixin_43283383

Merge pull request #86 from starckgates/master

去掉304的处理
......@@ -62,7 +62,7 @@ public class Monitor implements Runnable {
response = httpclient.execute(head);
//返回200 才做操作
if(response.getStatusLine().getStatusCode()==200 || response.getStatusLine().getStatusCode()==304){
if(response.getStatusLine().getStatusCode()==200){
if (!response.getLastHeader("Last-Modified").getValue().equalsIgnoreCase(last_modified)
||!response.getLastHeader("ETag").getValue().equalsIgnoreCase(eTags)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册