mirror of https://github.com/apache/lucene.git
SOLR-3388: disable httpCaching for UpdateHandlers by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a583705403
commit
d3ce0ad98a
|
@ -43,7 +43,7 @@ public abstract class ContentStreamHandlerBase extends RequestHandlerBase {
|
|||
// Caching off by default
|
||||
httpCaching = false;
|
||||
if (args != null) {
|
||||
Object caching = initArgs.get("httpCaching");
|
||||
Object caching = args.get("httpCaching");
|
||||
if(caching!=null) {
|
||||
httpCaching = Boolean.parseBoolean(caching.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue