content-type for json is not right

2014-08-09 Thread William Bell
http://hgsolr2sl1:8983/solr/autosuggest/select?q=*%3A*wt=json We are getting text/plan as the content-type. We want it to be application/json ? DId this change in 4.8.1? -- Bill Bell billnb...@gmail.com cell 720-256-8076

Re: content-type for json is not right

2014-08-09 Thread Yonik Seeley
It's configurable: https://issues.apache.org/jira/browse/SOLR-1123 It has been text/plain since v1.0 by default (so it will render in browsers) - perhaps you just never noticed? -Yonik http://heliosearch.org - native code faceting, facet functions, sub-facets, off-heap data On Sat, Aug 9, 2014