[
https://issues.apache.org/jira/browse/SOLR-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erik Hatcher resolved SOLR-184.
-------------------------------
Resolution: Fixed
committed, and added unit test too.
> add echoHandler=true to responseHeader, support echoParams=all
> --------------------------------------------------------------
>
> Key: SOLR-184
> URL: https://issues.apache.org/jira/browse/SOLR-184
> Project: Solr
> Issue Type: Wish
> Affects Versions: 1.2
> Reporter: Ryan McKinley
> Assigned To: Erik Hatcher
> Priority: Trivial
> Fix For: 1.2
>
> Attachments: SOLR-184-EchoHandler.patch, SOLR-184-EchoHandler.patch,
> SOLR-184-EchoHandler.patch
>
>
> 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¶m1=A
> http://localhost:8983/solr/debug/dump?echoParams=explicit¶m1=A
> http://localhost:8983/solr/debug/dump?echoParams=false¶m1=A
> to keep things reasonable, i'm mapping:
> echoParams=true >> explicit
> echoParams=false >> none
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.