Ryan McKinley created SOLR-3389:
-----------------------------------

             Summary: 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


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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to