Skip to content

Commit b3165ce

Browse files
committed
Merge pull request #86 from starckgates/master
去掉304的处理
2 parents 44fdf68 + 86813f5 commit b3165ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/wltea/analyzer/dic/Monitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void run() {
6262
response = httpclient.execute(head);
6363

6464
//返回200 才做操作
65-
if(response.getStatusLine().getStatusCode()==200 || response.getStatusLine().getStatusCode()==304){
65+
if(response.getStatusLine().getStatusCode()==200){
6666

6767
if (!response.getLastHeader("Last-Modified").getValue().equalsIgnoreCase(last_modified)
6868
||!response.getLastHeader("ETag").getValue().equalsIgnoreCase(eTags)) {

0 commit comments

Comments
 (0)