centralized_ruby_logger 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/httpsender.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcfa42cda13a4d02dd703a4e0195f8342c61df99
|
4
|
+
data.tar.gz: df8c24a7dfeedf6209ec46ce282a0ab18d3aae1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f117003aebbd6b711f6ce73f0c664499aa6428010bdc103b22c13554c4eb92acfa1c5a46d67386de6f12f429aa2796a9d0becc45ffa59c4899c3cf869567bd68
|
7
|
+
data.tar.gz: aa93ae24dca04354c48318ba61e330c23ccf3c94b414ead4090714b13f63758d7a379ab9882089db674d80046bb45cc9d9185dc9a644d9f01fbb9d477e37182e
|
data/lib/httpsender.rb
CHANGED
@@ -42,8 +42,8 @@ module Coralogix
|
|
42
42
|
@http.open_timeout = HTTP_TIMEOUT # seconds
|
43
43
|
|
44
44
|
headers = {
|
45
|
-
'Content-Type'
|
46
|
-
'Content-Encoding'
|
45
|
+
'Content-Type' => 'application/json',
|
46
|
+
'Content-Encoding' => 'deflate'
|
47
47
|
}
|
48
48
|
@req = Net::HTTP::Post.new(@uri.path, headers)
|
49
49
|
rescue Exception => e
|