[
https://issues.apache.org/jira/browse/SOLR-17907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080483#comment-18080483
]
Jalaz Kumar commented on SOLR-17907:
------------------------------------
[~gerlowskija] can I take this up if this is still un-resolved?
> v2 reload-core API triggers 415 status code when no async ID provided
> ---------------------------------------------------------------------
>
> Key: SOLR-17907
> URL: https://issues.apache.org/jira/browse/SOLR-17907
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ, v2 API
> Affects Versions: 10.0
> Reporter: Jason Gerlowski
> Priority: Minor
>
> The v2 "reload core" API takes a request body that should be optional (the
> only req body param is "async ID"), but currently if the request body is
> omitted entirely then Solr responds with a 415 ("Unsupported Media Type")
> status code.
> This is easy to reproduce using the "CoresApi.ReloadCore" SolrJ object.
> We should find a way to ensure that Solr accepts these "empty" request bodies
> and/or ensure that SolrJ sends a stub body on requests (e.g. "{}" for
> application/json)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]