mirror of https://github.com/apache/lucene.git
SOLR-10973: Use the correct constructor for InputStreamBody.
This commit is contained in:
parent
3291ef884d
commit
224f349857
|
@ -421,7 +421,7 @@ public class HttpSolrClient extends SolrClient {
|
|||
parts.add(new FormBodyPart(name,
|
||||
new InputStreamBody(
|
||||
content.getStream(),
|
||||
contentType,
|
||||
ContentType.parse(contentType),
|
||||
content.getName())));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue