[
https://issues.apache.org/jira/browse/SOLR-5517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117934#comment-14117934
]
Dominik Geelen commented on SOLR-5517:
--------------------------------------
Hi,
this update seems to have broken the automatic mime-type detection of the
ExtractingRequestHandler (Tika), which needs you to sumbit an empty (or simply
none at all) content-type with your request, to trigger the detection. Even the
Solr-WIKI states that explicitly specifying a content-type (stream.type) is
optional, so this cannot be the intended behavior of this patch.
This completely broke the indexing application in our company, which heavily
relies on the auto-detect feature for document indexing, and we need a
workaround for this bug as soon as possible.
Does anyone have any suggestions on what to do until this has been fixed?
Regards,
Dominik
> Return HTTP error on POST requests with no Content-Type
> -------------------------------------------------------
>
> Key: SOLR-5517
> URL: https://issues.apache.org/jira/browse/SOLR-5517
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan Ernst
> Assignee: Ryan Ernst
> Fix For: 4.7, 5.0
>
> Attachments: SOLR-5517.patch, SOLR-5517.patch, SOLR-5517.patch,
> SOLR-5517.patch, SOLR-5517.patch
>
>
> While the http spec states requests without a content-type should be treated
> as application/octet-stream, the html spec says instead that post requests
> without a content-type should be treated as a form
> (http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2.1). It would be
> nice to allow large search requests from html forms, and not have to rely on
> the browser to set the content type (since the spec says it doesn't have to).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]