I'm not quite sure what you're trying to do here, can you please elaborate with an example?
But, you can get the response header from a SolrQueryResponse using the getResponseHeader() method. Erik On Nov 13, 2013, at 3:21 PM, Developer <bbar...@gmail.com> wrote: > I am trying to escape special characters from SOLR response header (to > prevent cross site scripting). > > I couldn't find any method in SolrQueryResponse to get just the SOLR > response header. > > Can someone let me know if there is a way to modify the SOLR response > header? > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-escape-special-characters-from-SOLR-response-header-tp4100772.html > Sent from the Solr - User mailing list archive at Nabble.com.