You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2011/02/08 00:18:20 UTC

svn commit: r1068214 - /lucene/dev/trunk/solr/example/exampledocs/post.sh

Author: hossman
Date: Mon Feb  7 23:18:20 2011
New Revision: 1068214

URL: http://svn.apache.org/viewvc?rev=1068214&view=rev
Log:
SOLR-96: followup fix to post.sh

Modified:
    lucene/dev/trunk/solr/example/exampledocs/post.sh

Modified: lucene/dev/trunk/solr/example/exampledocs/post.sh
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/exampledocs/post.sh?rev=1068214&r1=1068213&r2=1068214&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/exampledocs/post.sh (original)
+++ lucene/dev/trunk/solr/example/exampledocs/post.sh Mon Feb  7 23:18:20 2011
@@ -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 '<commit/>' -H 'Content-type:text/xml; charset=utf-8'
+curl $URL --data-binary '<commit/>' -H 'Content-type:application/xml'
 echo