Michael Dürr created SOLR-15851:
-----------------------------------
Summary: content type not supported
Key: SOLR-15851
URL: https://issues.apache.org/jira/browse/SOLR-15851
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Admin UI
Affects Versions: 8.11
Reporter: Michael Dürr
When calling this from chrome/firefox the content of the requested file will
not be shown:
[http://localhost:8983/solr/#/techproducts/files?file=solrconfig.xml]
The failing request is:
[http://localhost:8983/solr/techproducts/admin/file?_=1639632872670&contentType=text%2Fxml;charset%3Dutf-8&file=solrconfig.xml&wt=json]
Result:
{code:java}
{
"responseHeader": {
"status": 400,
"QTime": 3
},
"error": {
"metadata": [
"error-class",
"org.apache.solr.common.SolrException",
"root-error-class",
"org.apache.solr.common.SolrException"
],
"msg": "Requested content type 'text/xml;charset=utf-8' is not
supported.",
"code": 400
}
}{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]