Jason Gerlowski created SOLR-17907:
--------------------------------------
Summary: 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: main (10.0)
Reporter: Jason Gerlowski
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]