lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Commented: (SOLR-1940) SolrDispatchFilter sets content type as NULL
Date Thu, 03 Jun 2010 23:45:58 GMT


Hoss Man commented on SOLR-1940:

in general, ShowFileRequestHandler has no way of knowing if the files are XML.

I think you are correct about SolrDispatchFilter: it shouldn't set the ContentType if the
responseWRiter returns null.

we should also fix those links on the admin screen to explicily set the contentType request

> SolrDispatchFilter sets content type as NULL
> --------------------------------------------
>                 Key: SOLR-1940
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Lance Norskog
> o.a.s.h.SolrDispatchFilter can set the output Content-Type to a null pointer instead
of a string. Under websphere this results in a NullPointerException. This is the offending
>     response.setContentType(responseWriter.getContentType(solrReq, solrRsp));
> Suggested fix: either use a default content type, or do not set the content type and
let the browser handle it. 

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message