You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2025/09/08 13:34:00 UTC
[jira] [Created] (SOLR-17907) v2 reload-core API triggers 415 status code when no async ID provided
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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org