You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Michael Dürr (Jira)" <ji...@apache.org> on 2021/12/16 05:45:00 UTC

[jira] [Resolved] (SOLR-15851) content type not supported

     [ https://issues.apache.org/jira/browse/SOLR-15851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürr resolved SOLR-15851.
---------------------------------
    Resolution: Duplicate

Duplciate of SOLR-15804

> 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
>            Priority: Minor
>
> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org