Mike Drob created SOLR-8923:
-------------------------------
Summary: HttpSolrCall assumes request was a GET when processing
errors
Key: SOLR-8923
URL: https://issues.apache.org/jira/browse/SOLR-8923
Project: Solr
Issue Type: Bug
Reporter: Mike Drob
Priority: Minor
In SOLR-7681 we discovered that methods other than GET will work for Solr HTTP
requests. However, in HttpSolrCall we assume that only a GET method is possible
when returning an error message.
Looking into the specific usage, I don't think this assumption is dangerous,
but it would be nice to extract the actual method and use that instead.
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/servlet/HttpSolrCall.java#L621
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]