We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e45df commit 7cdb177Copy full SHA for 7cdb177
src/main/java/org/wltea/analyzer/dic/Monitor.java
@@ -72,6 +72,9 @@ public void run() {
72
last_modified = response.getLastHeader("Last-Modified")==null?null:response.getLastHeader("Last-Modified").getValue();
73
eTags = response.getLastHeader("ETag")==null?null:response.getLastHeader("ETag").getValue();
74
}
75
+ }else if (response.getStatusLine().getStatusCode()==304) {
76
+ //没有修改,不做操作
77
+ //noop
78
}else{
79
Dictionary.logger.info("remote_ext_dict {} return bad code {}" , location , response.getStatusLine().getStatusCode() );
80
0 commit comments