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

add echoHandler=true to responseHeader, support echoParams=all

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.2
    • 1.2
    • None
    • None

    Description

      optionally return what handler was used in the response header. This patch also extends echoParams so that it supports 'all' and 'none'

      It makes a small API change to the protected SolrCore.setResponseHeaderValues() – it now passes in the handler that was used.

      Some URLs to check (but remember that the /debug/dump handler prints out its own 'params')

      http://localhost:8983/solr/debug/dump
      http://localhost:8983/solr/debug/dump?echoParams=all&param1=A
      http://localhost:8983/solr/debug/dump?echoParams=explicit&param1=A
      http://localhost:8983/solr/debug/dump?echoParams=false&param1=A

      to keep things reasonable, i'm mapping:
      echoParams=true >> explicit
      echoParams=false >> none

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ehatcher Erik Hatcher
            ryantxu Ryan McKinley
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment