noblepaul commented on a change in pull request #115:
URL: https://github.com/apache/solr/pull/115#discussion_r637387438
##########
File path: solr/core/src/java/org/apache/solr/servlet/SolrRequestParsers.java
##########
@@ -549,7 +546,9 @@ public InputStream getStream() throws IOException {
public SolrParams parseParamsAndFillStreams(
final HttpServletRequest req, ArrayList<ContentStream> streams )
throws Exception
{
- streams.add( new HttpRequestContentStream( req ) );
+ if (!req.getMethod().equals("GET")) { // or other conditions? Check
headers?
+ streams.add(new HttpRequestContentStream(req));
+ }
Review comment:
Please enhance this and I shall review it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]