: "The request sent by the client was syntactically incorrect (missing content
: stream)" 

that usually means either the content type wasn't set, or there was no 
post data....

: curl http://localhost:8983/solr/update/csv --data-binary @blog.csv -H
: 'Content-type:text/plain; charset=utf-8'
: 
: I use the windows version of curl, running this statement from the curl
: folder where the blog.csv file resides as well. 

my gut assumption was that you needed some whitespace in the content type 
(ie: 'Content-type: text/plain; charset=utf-8') but i was able to get this 
to work just fine on linux using the example setup...

curl 'http://localhost:8983/solr/update/csv?commit=true' --data-binary 
@books.csv -H 'Content-type:text/plain; charset=utf-8'

...perhaps there is some eccentricity about windows curl?


-Hoss

Reply via email to