lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3389) Autodetect JSON/XML when content-type is missing from request
Date Sat, 21 Apr 2012 00:27:33 GMT

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


Mime
View raw message