Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15851

content type not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 8.11
    • None
    • Admin UI
    • None

    Description

      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:

       

      {
          "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
          }
      }

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            duerrm Michael Dürr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: