Looks like that was added for the UTF-8 example.  But setting the
content-type/charset should work for all the other examples too,
right?  So I don't see any reason for not deleting the first curl.

Bill

On 9/17/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:

am i smoking crack of is post.sh mistakenly sending every doc twice in a
row? ...

for f in $FILES; do
  echo Posting file $f to $URL
  curl $URL --data-binary @$f
  curl $URL --data-binary @$f -H 'Content-type:text/xml; charset=utf-8'
  echo
done


...is there any reason not to delete that first execution of curl?



-Hoss


Reply via email to