lib/scalyr/common/client.rb in logstash-output-scalyr-0.1.8 vs lib/scalyr/common/client.rb in logstash-output-scalyr-0.1.9
- old
+ new
@@ -273,10 +273,10 @@
compression_duration = end_time - start_time
end
post = Net::HTTP::Post.new uri_path
post.add_field('Content-Type', 'application/json')
- version = 'output-logstash-scalyr 0.1.8'
+ version = 'output-logstash-scalyr 0.1.9'
post.add_field('User-Agent', version + ';' + RUBY_VERSION + ';' + RUBY_PLATFORM)
if not encoding.nil?
post.add_field('Content-Encoding', encoding)
post.body = compressed_body