[ https://issues.apache.org/jira/browse/SOLR-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-142: -------------------------- Attachment: SOLR-142-RawResponseWriter.patch revised version of Ryan's latest patch -- just adds some documentation. the patch is nice and clean and simple -- but without anything illustrating it's use i'm hesitent to commit it. (i know a lot of the previous code in this issue got migrated to SOLR-162, but perhaps at least the GetAdminFileRequestHandler should be part of this patch so the basic functionality for getting a file and writing it's raw stream is commited all at once. > 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 > > > 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.