From ebfa92f6dbe8a37384ae713e256804901790cfb8 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Mon, 7 Feb 2011 23:18:20 +0000 Subject: [PATCH] SOLR-96: followup fix to post.sh git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1068214 13f79535-47bb-0310-9956-ffa450edef68 --- solr/example/exampledocs/post.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/example/exampledocs/post.sh b/solr/example/exampledocs/post.sh index ee5fdbe9f0d..d9dd4ed718e 100755 --- a/solr/example/exampledocs/post.sh +++ b/solr/example/exampledocs/post.sh @@ -19,10 +19,10 @@ URL=http://localhost:8983/solr/update for f in $FILES; do echo Posting file $f to $URL - curl $URL --data-binary @$f -H 'Content-type:text/xml; charset=utf-8' + curl $URL --data-binary @$f -H 'Content-type:application/xml' echo done #send the commit command to make sure all the changes are flushed and visible -curl $URL --data-binary '' -H 'Content-type:text/xml; charset=utf-8' +curl $URL --data-binary '' -H 'Content-type:application/xml' echo