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

Ryan McKinley updated SOLR-142:
-------------------------------

    Attachment: SOLR-142-RawResponseWriter.patch

Thanks for looking at that.  Here is an updated version that includes 
GetAdminFileRequestHandler.java from SOLR-162

This patch also deletes /admin/get-file.jsp and changes to /admin/index.jsp 
that point to this handler.  That is good because it moves away from some ugly 
jsp scriptlet code - it is bad because if someone just updates the .war file 
without updating solrconfig.xml they will get a 404.  

You make the call on what part is appropriate to add at this time.  

thanks
ryan




> RawResponseWriter - replace /admin/get-file.jsp
> -----------------------------------------------
>
>                 Key: SOLR-142
>                 URL: https://issues.apache.org/jira/browse/SOLR-142
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Ryan McKinley
>            Priority: Trivial
>         Attachments: SOLR-142-RawResponseWriter.patch, 
> SOLR-142-RawResponseWriter.patch, SOLR-142-RawResponseWriter.patch, 
> SOLR-142-RawResponseWriter.patch, SOLR-142-RawResponseWriter.patch
>
>
> A RawResponseWriter writes a ContentStream directly to the response.
> This is useful to spit back a file directly from solr.  This implementation 
> looks for a response property named "content" and sends it to the client.  If 
> it can't find one, it delegates the response to another ResponseWriter.
> As an example, I added a GetAdminFileRequestHandler to replace 
> /admin/get-file.jsp

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to