lib/timber/log_devices/http.rb in timber-2.6.0 vs lib/timber/log_devices/http.rb in timber-2.6.1
- old
+ new
@@ -145,9 +145,10 @@
req = Net::HTTP::Post.new(@timber_url.path)
req['Authorization'] = authorization_payload
req['Content-Type'] = CONTENT_TYPE
req['User-Agent'] = USER_AGENT
+
req.body = msgs.to_msgpack
req
end
# Flushes the message buffer asynchronously. The reason we provide this
\ No newline at end of file