[
https://issues.apache.org/jira/browse/SOLR-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan McKinley updated SOLR-3389:
--------------------------------
Priority: Trivial (was: Major)
> Autodetect JSON/XML when content-type is missing from request
> -------------------------------------------------------------
>
> Key: SOLR-3389
> URL: https://issues.apache.org/jira/browse/SOLR-3389
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Priority: Trivial
>
> Since solr 1.1, if you try:
> {code}curl http://localhost:8983/solr/update --data-binary @books.json{code}
> you will get a 400 bad request 'missing content stream' error
> To change this behavior, we could try harder with you POST data with
> www-form-encoded
> See line 394 in SolrRequestParsers.java
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]