http 0.8.7 → 0.8.8

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
  SHA1:
3
- metadata.gz: 04013fb3be8785ffad986b70b2d8110e47d88a8a
4
- data.tar.gz: edaf6a058cb71d10dd3195830bbe20287b4f673a
3
+ metadata.gz: 8e198bd8fdb5940123725f1f6cd3aaa0b610f631
4
+ data.tar.gz: c0d829c1d9dbc36b708f0acce73fc537e82b2f66
5
5
  SHA512:
6
- metadata.gz: bea10d0cffd4711074a4337d7ef2255593af098221d18776d9a9d0dd0815976d348eae4f9c9d825229fd6e5f5404a7f25efd8231214b16a1ed1dcbeba706b4fe
7
- data.tar.gz: 2d37693d17444f69f62e2951549b0269fd962ef7f8f302584065a8d37ceb38ffc3d9a98832120b9327eaf2c16d17c8805c9c30e77858b0b33fe910b5c4f7ecc5
6
+ metadata.gz: 448f0114af4fbe70411fb4969792263b7e58111ac197f0581e93d1b48628dc4d64b81fc0b6de0f961d64995fad0e4d4d58bdedc798efb151360df1ebf13e0c64
7
+ data.tar.gz: 9320d337488c30d9904fa0e7fd27c1f13a90c5ddce253b43cb5c03d72fdfdaa197e19cb8b48d5a5ce0426bcd486612baa19410d3deedafc7bf369e48f8d47d10
data/CHANGES.md CHANGED
@@ -3,6 +3,11 @@
3
3
  * _the future is unwritten_
4
4
 
5
5
 
6
+ ## 0.8.8 (2015-05-09)
7
+
8
+ * Fix CONNECT header for proxies. See #217. (@Connorhd)
9
+
10
+
6
11
  ## 0.8.7 (2015-05-08)
7
12
 
8
13
  * Fix `HTTP.timeout` API with options only given. (@ixti)
data/lib/http/request.rb CHANGED
@@ -132,7 +132,7 @@ module HTTP
132
132
 
133
133
  # Compute HTTP request header SSL proxy connection
134
134
  def proxy_connect_header
135
- "CONNECT #{@uri.host}:#{@uri.port} HTTP/#{version}"
135
+ "CONNECT #{host}:#{port} HTTP/#{version}"
136
136
  end
137
137
 
138
138
  # Headers to send with proxy connect request
data/lib/http/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module HTTP
2
- VERSION = "0.8.7"
2
+ VERSION = "0.8.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-05-08 00:00:00.000000000 Z
14
+ date: 2015-05-09 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: http_parser.rb