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

Support "Accept" request header as alternative to "wt" parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Server

    Description

      Spinoff from email

      Advertises which content types, expressed as MIME types, the client is able to understand
      https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept

      Could replace or at least be an alternative to “wt”. Examples:
      Accept: application/xml
      Accept: text/csv

      Issue: Most browsers sends a long accept header, typically application/xml,text/html, */* , and now that json is default for Solr, we’d need to serve JSON if the accept header includes “*/*"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: