Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Commit

Permalink
Added the --data-binary curl switch in Index#bulk_store
Browse files Browse the repository at this point in the history
Closes #452
  • Loading branch information
canadaduane authored and karmi committed Oct 26, 2012
1 parent e8d09d8 commit 18284e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tire/index.rb
Expand Up @@ -122,7 +122,7 @@ def bulk_store(documents, options={})
end

ensure
curl = %Q|curl -X POST "#{url}/_bulk" -d '{... data omitted ...}'|
curl = %Q|curl -X POST "#{url}/_bulk" --data-binary '{... data omitted ...}'|
logged('BULK', curl)
end
end
Expand Down

0 comments on commit 18284e7

Please sign in to comment.