async-http 0.45.8 → 0.45.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caf1e3698040d161c9d1f409e2170eb2ca53ebfa3dd388be4e47a60b8bdc3c86
4
- data.tar.gz: d95ec50012691ae313a9a0fa15caf05f6b16455be1cf2c3443ba35be078654a8
3
+ metadata.gz: db1594d1f164cc3ab8f63d2c4b4b9b75fa1ca13f564ea4a4908b6fa27aabf0b9
4
+ data.tar.gz: 6df7e3e2c1a82dcdd699ec612bf7d9e7ad293baaba308f7a61935af5966ea7c9
5
5
  SHA512:
6
- metadata.gz: 753aa0f3ec69a92df4af37e25511c815be6330b5fb3d8a21e1fdcf7bc2393e3ed9e27bdabe45b7f8c3bb915d8344a99bb48f304079d8394426b80e504f6481eb
7
- data.tar.gz: 0c4d218793357a5c5002858d18c45dbad04481b1884bf1d7f6a623a5878b5eeaa1fe122cbb2a57477e6daeb3af6f48f6f29128532ccf100006dfec3e2e1a0bab
6
+ metadata.gz: a59e18445d9e8d31bb08a577d46d88dec3a758a481f57577a22612dbe435f6ff89ff22ac1a4cff15b56f59774ccdad8ebde939186ecd411102ac03ac944334ea
7
+ data.tar.gz: 9577d519fd0d5d7207df86243e9ce11842b32113d8ac7a21744d7a4089ee16ffed5aa99fbe8f8e772ea99b3bb81dc4c8569db73ad3c1fcf0aeca72c146fd1a3e
@@ -123,6 +123,26 @@ module Async
123
123
  def version
124
124
  VERSION
125
125
  end
126
+
127
+ def encode_headers(headers, buffer = String.new.b)
128
+ super.tap do |data|
129
+ Async.logger.debug(self) do |buffer|
130
+ buffer.puts "Encode headers: #{headers.inspect}"
131
+ buffer.puts "-> #{data.inspect}"
132
+ buffer.puts "@encoder: #{@encoder.inspect}"
133
+ end
134
+ end
135
+ end
136
+
137
+ def decode_headers(data)
138
+ super.tap do |headers|
139
+ Async.logger.debug(self) do |buffer|
140
+ buffer.puts "Decode headers: #{data.inspect}"
141
+ buffer.puts "-> #{headers.inspect}"
142
+ buffer.puts "@decoder: #{@decoder.inspect}"
143
+ end
144
+ end
145
+ end
126
146
  end
127
147
  end
128
148
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module HTTP
23
- VERSION = "0.45.8"
23
+ VERSION = "0.45.9"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.8
4
+ version: 0.45.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-18 00:00:00.000000000 Z
11
+ date: 2019-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async