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:
Ryan McKinley 2012-04-20 23:58:51 +00:00
parent a583705403
commit d3ce0ad98a
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}