httpclient 2.5.3.2 → 2.5.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -199,11 +199,15 @@ class HTTPClient
199
199
  # instead of open so that we can remove duplicated Site creation for
200
200
  # each session.
201
201
  def get_session(req, via_proxy = false)
202
- site = Site.new(req.header.request_uri)
202
+ uri = req.header.request_uri
203
+ if uri.scheme.nil?
204
+ raise ArgumentError.new("Request URI must have schema. Possibly add 'http://' to the request URI?")
205
+ end
206
+ site = Site.new(uri)
203
207
  if cached = get_cached_session(site)
204
208
  cached
205
209
  else
206
- open(req.header.request_uri, via_proxy)
210
+ open(uri, via_proxy)
207
211
  end
208
212
  end
209
213
 
@@ -1,3 +1,3 @@
1
1
  class HTTPClient
2
- VERSION = '2.5.3.2'
2
+ VERSION = '2.5.3.3'
3
3
  end
@@ -1742,6 +1742,12 @@ EOS
1742
1742
  end
1743
1743
  end
1744
1744
 
1745
+ def test_uri_no_schema
1746
+ assert_raise(ArgumentError) do
1747
+ @client.get_content("www.example.com")
1748
+ end
1749
+ end
1750
+
1745
1751
  private
1746
1752
 
1747
1753
  def check_query_get(query)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httpclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3.2
4
+ version: 2.5.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-05 00:00:00.000000000 Z
11
+ date: 2014-11-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: nahi@ruby-lang.org
@@ -17,13 +17,12 @@ executables:
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - README.md
21
20
  - bin/httpclient
21
+ - bin/jsonclient
22
22
  - lib/hexdump.rb
23
- - lib/http-access2.rb
24
23
  - lib/http-access2/cookie.rb
25
24
  - lib/http-access2/http.rb
26
- - lib/httpclient.rb
25
+ - lib/http-access2.rb
27
26
  - lib/httpclient/auth.rb
28
27
  - lib/httpclient/cacert.p7s
29
28
  - lib/httpclient/connection.rb
@@ -35,6 +34,7 @@ files:
35
34
  - lib/httpclient/timeout.rb
36
35
  - lib/httpclient/util.rb
37
36
  - lib/httpclient/version.rb
37
+ - lib/httpclient.rb
38
38
  - lib/oauthclient.rb
39
39
  - sample/async.rb
40
40
  - sample/auth.rb
@@ -63,13 +63,6 @@ files:
63
63
  - test/helper.rb
64
64
  - test/htdigest
65
65
  - test/htpasswd
66
- - test/reports/TEST-HTTPAccess2-TestClient.xml
67
- - test/reports/TEST-TestCookie.xml
68
- - test/reports/TEST-TestCookieManager.xml
69
- - test/reports/TEST-TestHTTPClient.xml
70
- - test/reports/TEST-TestSSL.0.xml
71
- - test/reports/TEST-TestSSL.1.xml
72
- - test/reports/TEST-TestSSL.xml
73
66
  - test/runner.rb
74
67
  - test/server.cert
75
68
  - test/server.key
@@ -82,6 +75,7 @@ files:
82
75
  - test/test_httpclient.rb
83
76
  - test/test_include_client.rb
84
77
  - test/test_ssl.rb
78
+ - README.md
85
79
  homepage: https://github.com/nahi/httpclient
86
80
  licenses:
87
81
  - ruby
@@ -92,17 +86,17 @@ require_paths:
92
86
  - lib
93
87
  required_ruby_version: !ruby/object:Gem::Requirement
94
88
  requirements:
95
- - - ">="
89
+ - - '>='
96
90
  - !ruby/object:Gem::Version
97
91
  version: '0'
98
92
  required_rubygems_version: !ruby/object:Gem::Requirement
99
93
  requirements:
100
- - - ">="
94
+ - - '>='
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0'
103
97
  requirements: []
104
98
  rubyforge_project:
105
- rubygems_version: 2.4.1
99
+ rubygems_version: 2.0.14
106
100
  signing_key:
107
101
  specification_version: 4
108
102
  summary: gives something like the functionality of libwww-perl (LWP) in Ruby
@@ -1,221 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HTTPAccess2::TestClient" tests="26" time="7.603895642" failures="0" errors="0" skipped="0" assertions="104">
3
- <testcase name="test_agent_name" time="0.017188423" assertions="2">
4
- </testcase>
5
- <testcase name="test_connect_timeout" time="0.002832879" assertions="0">
6
- </testcase>
7
- <testcase name="test_cookies" time="0.006001353" assertions="1">
8
- </testcase>
9
- <testcase name="test_debug_dev" time="0.011921222" assertions="2">
10
- </testcase>
11
- <testcase name="test_delete" time="0.051199433" assertions="2">
12
- </testcase>
13
- <testcase name="test_extra_headers" time="0.016006291" assertions="5">
14
- </testcase>
15
- <testcase name="test_from" time="0.009970529" assertions="2">
16
- </testcase>
17
- <testcase name="test_get" time="0.052878984" assertions="2">
18
- </testcase>
19
- <testcase name="test_get_content" time="0.769556348" assertions="7">
20
- </testcase>
21
- <testcase name="test_get_query" time="0.351177154" assertions="8">
22
- </testcase>
23
- <testcase name="test_head" time="0.031884708" assertions="2">
24
- </testcase>
25
- <testcase name="test_initialize" time="0.037634137" assertions="3">
26
- </testcase>
27
- <testcase name="test_no_proxy" time="0.094646097" assertions="12">
28
- </testcase>
29
- <testcase name="test_noproxy_for_localhost" time="0.01376434" assertions="2">
30
- </testcase>
31
- <testcase name="test_options" time="0.059349588" assertions="2">
32
- </testcase>
33
- <testcase name="test_post" time="0.055248351" assertions="2">
34
- </testcase>
35
- <testcase name="test_post_body" time="0.425661961" assertions="9">
36
- </testcase>
37
- <testcase name="test_post_content" time="0.273318774" assertions="7">
38
- </testcase>
39
- <testcase name="test_protocol_version_http10" time="0.0218188" assertions="5">
40
- </testcase>
41
- <testcase name="test_protocol_version_http11" time="0.04638714" assertions="10">
42
- </testcase>
43
- <testcase name="test_proxy" time="0.043059185" assertions="8">
44
- </testcase>
45
- <testcase name="test_put" time="0.055218273" assertions="2">
46
- </testcase>
47
- <testcase name="test_receive_timeout" time="5.049932643" assertions="4">
48
- </testcase>
49
- <testcase name="test_send_timeout" time="0.009204754" assertions="0">
50
- </testcase>
51
- <testcase name="test_timeout" time="0.011004102" assertions="3">
52
- </testcase>
53
- <testcase name="test_trace" time="0.069505171" assertions="2">
54
- </testcase>
55
- <system-out>
56
- redirect to: http://localhost:36939/hello
57
- redirect to: http://localhost:36939/redirect3
58
- redirect to: http://localhost:36939/hello
59
- redirect to: http://localhost:36939/redirect_self
60
- redirect to: http://localhost:36939/redirect_self
61
- redirect to: http://localhost:36939/redirect_self
62
- redirect to: http://localhost:36939/redirect_self
63
- redirect to: http://localhost:36939/redirect_self
64
- redirect to: http://localhost:36939/redirect_self
65
- redirect to: http://localhost:36939/redirect_self
66
- redirect to: http://localhost:36939/redirect_self
67
- redirect to: http://localhost:36939/redirect_self
68
- redirect to: http://localhost:36939/redirect_self
69
- redirect to: http://localhost:39018/hello
70
- redirect to: http://localhost:39018/redirect3
71
- redirect to: http://localhost:39018/hello
72
- redirect to: http://localhost:39018/redirect_self
73
- redirect to: http://localhost:39018/redirect_self
74
- redirect to: http://localhost:39018/redirect_self
75
- redirect to: http://localhost:39018/redirect_self
76
- redirect to: http://localhost:39018/redirect_self
77
- redirect to: http://localhost:39018/redirect_self
78
- redirect to: http://localhost:39018/redirect_self
79
- redirect to: http://localhost:39018/redirect_self
80
- redirect to: http://localhost:39018/redirect_self
81
- redirect to: http://localhost:39018/redirect_self
82
- </system-out>
83
- <system-err>
84
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
85
- Exception `Errno::EBADF' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - Bad file descriptor
86
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
87
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
88
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
89
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
90
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
91
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
92
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
93
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
94
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
95
- Exception `WEBrick::HTTPStatus::MovedPermanently' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::MovedPermanently
96
- Exception `WEBrick::HTTPStatus::TemporaryRedirect' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::TemporaryRedirect
97
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
98
- Exception `WEBrick::HTTPStatus::NotFound' at /usr/local/lib/ruby/2.1.0/webrick/httpservlet/filehandler.rb:331 - `/notfound' not found.
99
- Exception `HTTPClient::BadResponseError' at /mnt/home/nahi/git/httpclient/lib/httpclient.rb:975 - unexpected response: #&lt;HTTP::Message::Headers:0x007fda65ac9508 @http_version="1.1", @body_size=0, @chunked=false, @request_method="GET", @request_uri=#&lt;URI::HTTP:0x007fda65ac9a58 URL:http://localhost:36939/notfound&gt;, @request_query=nil, @request_absolute_uri=nil, @status_code=404, @reason_phrase="Not Found ", @body_type=nil, @body_charset=nil, @body_date=nil, @body_encoding=#&lt;Encoding:ISO-8859-1&gt;, @is_request=false, @header_item=[["Content-Type", "text/html; charset=ISO-8859-1"], ["Server", "WEBrick/1.3.1 (Ruby/2.1.0/2013-12-02) OpenSSL/1.0.1e"], ["Date", "Mon, 02 Dec 2013 15:50:15 GMT"], ["Content-Length", "294"], ["Connection", "close"]], @dumped=false&gt;
100
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
101
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
102
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
103
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
104
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
105
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
106
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
107
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
108
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
109
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
110
- Exception `HTTPClient::BadResponseError' at /mnt/home/nahi/git/httpclient/lib/httpclient.rb:968 - retry count exceeded
111
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
112
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
113
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
114
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
115
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
116
- Exception `IO::EAGAINWaitReadable' at /usr/local/lib/ruby/2.1.0/net/protocol.rb:153 - Resource temporarily unavailable - read would block
117
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
118
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
119
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
120
- Exception `IO::EAGAINWaitReadable' at /usr/local/lib/ruby/2.1.0/net/protocol.rb:153 - Resource temporarily unavailable - read would block
121
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
122
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
123
- Exception `IO::EAGAINWaitReadable' at /usr/local/lib/ruby/2.1.0/net/protocol.rb:153 - Resource temporarily unavailable - read would block
124
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
125
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
126
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
127
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
128
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
129
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
130
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
131
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
132
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
133
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
134
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
135
- Exception `WEBrick::HTTPStatus::MovedPermanently' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::MovedPermanently
136
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
137
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
138
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
139
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
140
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
141
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
142
- Exception `WEBrick::HTTPStatus::TemporaryRedirect' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::TemporaryRedirect
143
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
144
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
145
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
146
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
147
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
148
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
149
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
150
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
151
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
152
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
153
- Exception `WEBrick::HTTPStatus::NotFound' at /usr/local/lib/ruby/2.1.0/webrick/httpservlet/filehandler.rb:331 - `/notfound' not found.
154
- Exception `HTTPClient::BadResponseError' at /mnt/home/nahi/git/httpclient/lib/httpclient.rb:975 - unexpected response: #&lt;HTTP::Message::Headers:0x007fda659e4d68 @http_version="1.1", @body_size=0, @chunked=false, @request_method="POST", @request_uri=#&lt;URI::HTTP:0x007fda659e76a8 URL:http://localhost:39018/notfound&gt;, @request_query=nil, @request_absolute_uri=nil, @status_code=404, @reason_phrase="Not Found ", @body_type=nil, @body_charset=nil, @body_date=nil, @body_encoding=#&lt;Encoding:ISO-8859-1&gt;, @is_request=false, @header_item=[["Content-Type", "text/html; charset=ISO-8859-1"], ["Server", "WEBrick/1.3.1 (Ruby/2.1.0/2013-12-02) OpenSSL/1.0.1e"], ["Date", "Mon, 02 Dec 2013 15:50:16 GMT"], ["Content-Length", "294"], ["Connection", "close"]], @dumped=false&gt;
155
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
156
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
157
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
158
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
159
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
160
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
161
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
162
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
163
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
164
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
165
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
166
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
167
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
168
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
169
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
170
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
171
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
172
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
173
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
174
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
175
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
176
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
177
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
178
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
179
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
180
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
181
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
182
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
183
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
184
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
185
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
186
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
187
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
188
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
189
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
190
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
191
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
192
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
193
- Exception `HTTPClient::BadResponseError' at /mnt/home/nahi/git/httpclient/lib/httpclient.rb:968 - retry count exceeded
194
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
195
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
196
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
197
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
198
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:884 - HTTPClient::KeepAliveDisconnected
199
- Exception `HTTPClient::KeepAliveDisconnected' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - HTTPClient::KeepAliveDisconnected
200
- Exception `WEBrick::HTTPStatus::LengthRequired' at /usr/local/lib/ruby/2.1.0/webrick/httprequest.rb:484 - WEBrick::HTTPStatus::LengthRequired
201
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
202
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
203
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
204
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
205
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
206
- Exception `URI::InvalidURIError' at /usr/local/lib/ruby/2.1.0/uri/common.rb:146 - bad URI(absolute but no path): http://
207
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
208
- Exception `IO::EAGAINWaitReadable' at /usr/local/lib/ruby/2.1.0/net/protocol.rb:153 - Resource temporarily unavailable - read would block
209
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
210
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
211
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
212
- Exception `HTTPClient::ReceiveTimeoutError' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:881 - execution expired
213
- Exception `HTTPClient::ReceiveTimeoutError' at /usr/local/lib/ruby/2.1.0/timeout.rb:98 - execution expired
214
- Exception `HTTPClient::ReceiveTimeoutError' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:670 - execution expired
215
- Exception `Errno::EPIPE' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:460 - Broken pipe
216
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
217
- Exception `Errno::EINVAL' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:261 - Invalid argument - accept(2)
218
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
219
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
220
- </system-err>
221
- </testsuite>
@@ -1,21 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="TestCookie" tests="7" time="0.031314782" failures="0" errors="0" skipped="0" assertions="43">
3
- <testcase name="test_discard?" time="0.002121387" assertions="2">
4
- </testcase>
5
- <testcase name="test_domain_match" time="0.005498976" assertions="9">
6
- </testcase>
7
- <testcase name="test_head_match?" time="0.004297882" assertions="8">
8
- </testcase>
9
- <testcase name="test_join_quotedstr" time="0.003062808" assertions="3">
10
- </testcase>
11
- <testcase name="test_match" time="0.004556783" assertions="12">
12
- </testcase>
13
- <testcase name="test_s_new" time="0.003785869" assertions="1">
14
- </testcase>
15
- <testcase name="test_tail_match?" time="0.003337379" assertions="8">
16
- </testcase>
17
- <system-out>
18
- </system-out>
19
- <system-err>
20
- </system-err>
21
- </testsuite>
@@ -1,35 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="TestCookieManager" tests="14" time="0.040153747" failures="0" errors="0" skipped="0" assertions="81">
3
- <testcase name="test_add" time="0.002104388" assertions="3">
4
- </testcase>
5
- <testcase name="test_add2" time="0.002020538" assertions="2">
6
- </testcase>
7
- <testcase name="test_check_cookie_accept_domain" time="0.009396668" assertions="7">
8
- </testcase>
9
- <testcase name="test_check_expired_cookies" time="0.001475665" assertions="1">
10
- </testcase>
11
- <testcase name="test_find_cookie" time="0.010231314" assertions="1">
12
- </testcase>
13
- <testcase name="test_load_cookies" time="0.001342934" assertions="16">
14
- </testcase>
15
- <testcase name="test_not_saved_expired_cookies" time="0.001559762" assertions="1">
16
- </testcase>
17
- <testcase name="test_parse" time="0.000985309" assertions="5">
18
- </testcase>
19
- <testcase name="test_parse2" time="0.000975525" assertions="6">
20
- </testcase>
21
- <testcase name="test_parse3" time="0.000955535" assertions="8">
22
- </testcase>
23
- <testcase name="test_parse_after_expiration" time="0.001256179" assertions="9">
24
- </testcase>
25
- <testcase name="test_parse_double_semicolon" time="0.000929801" assertions="6">
26
- </testcase>
27
- <testcase name="test_parse_expires" time="0.001644574" assertions="12">
28
- </testcase>
29
- <testcase name="test_save_cookie" time="0.001855516" assertions="4">
30
- </testcase>
31
- <system-out>
32
- </system-out>
33
- <system-err>
34
- </system-err>
35
- </testsuite>
@@ -1,147 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="TestHTTPClient" tests="28" time="1.825055912" failures="0" errors="0" skipped="0" assertions="60">
3
- <testcase name="test_agent_name" time="0.018686048" assertions="2">
4
- </testcase>
5
- <testcase name="test_body_param_order" time="0.009260758" assertions="1">
6
- </testcase>
7
- <testcase name="test_broken_header" time="0.013603474" assertions="1">
8
- </testcase>
9
- <testcase name="test_charset" time="0.013129142" assertions="2">
10
- </testcase>
11
- <testcase name="test_chunked" time="0.054276473" assertions="2">
12
- </testcase>
13
- <testcase name="test_chunked_empty" time="0.014331797" assertions="1">
14
- </testcase>
15
- <testcase name="test_connect_request" time="0.003619723" assertions="2">
16
- </testcase>
17
- <testcase name="test_connect_timeout" time="0.003418938" assertions="0">
18
- </testcase>
19
- <testcase name="test_connection" time="0.003467481" assertions="2">
20
- </testcase>
21
- <testcase name="test_continue" time="0.011619654" assertions="3">
22
- </testcase>
23
- <testcase name="test_cookie_update_while_authentication" time="0.005894274" assertions="3">
24
- </testcase>
25
- <testcase name="test_cookies" time="0.028987489" assertions="2">
26
- </testcase>
27
- <testcase name="test_debug_dev" time="0.009290071" assertions="3">
28
- </testcase>
29
- <testcase name="test_debug_dev_stream" time="0.024782091" assertions="1">
30
- </testcase>
31
- <testcase name="test_delete" time="0.007344758" assertions="1">
32
- </testcase>
33
- <testcase name="test_delete_async" time="0.012106211" assertions="1">
34
- </testcase>
35
- <testcase name="test_delete_with_body" time="0.009209805" assertions="2">
36
- </testcase>
37
- <testcase name="test_empty_proxy_env" time="0.006924914" assertions="1">
38
- </testcase>
39
- <testcase name="test_eof_error_length" time="0.009711158" assertions="1">
40
- </testcase>
41
- <testcase name="test_eof_error_rest" time="0.007020156" assertions="1">
42
- </testcase>
43
- <testcase name="test_extra_headers" time="0.013355433" assertions="5">
44
- </testcase>
45
- <testcase name="test_from" time="0.016391016" assertions="2">
46
- </testcase>
47
- <testcase name="test_get" time="0.093464408" assertions="5">
48
- </testcase>
49
- <testcase name="test_get_async" time="0.03389181" assertions="1">
50
- </testcase>
51
- <testcase name="test_get_async_for_largebody" time="0.105096318" assertions="1">
52
- </testcase>
53
- <testcase name="test_get_content" time="0.942200107" assertions="10">
54
- </testcase>
55
- <testcase name="test_get_content_with_block" time="0.247654055" assertions="3">
56
- </testcase>
57
- <testcase name="test_get_follow_redirect">
58
- </testcase>
59
- <system-out>
60
- redirect to: http://localhost:48939/hello
61
- redirect to: http://localhost:48939/redirect3
62
- redirect to: http://localhost:48939/hello
63
- redirect to: http://localhost:48939/hello
64
- redirect to: http://localhost:48939/redirect3
65
- redirect to: http://localhost:48939/hello
66
- redirect to: http://localhost:48939/redirect_self
67
- redirect to: http://localhost:48939/redirect_self
68
- redirect to: http://localhost:48939/redirect_self
69
- redirect to: http://localhost:48939/redirect_self
70
- redirect to: http://localhost:48939/redirect_self
71
- redirect to: http://localhost:48939/redirect_self
72
- redirect to: http://localhost:48939/redirect_self
73
- redirect to: http://localhost:48939/redirect_self
74
- redirect to: http://localhost:48939/redirect_self
75
- redirect to: http://localhost:48939/redirect_self
76
- redirect to: http://localhost:59637/hello
77
- redirect to: http://localhost:59637/redirect3
78
- redirect to: http://localhost:59637/hello
79
- redirect to: http://localhost:40754/hello
80
- </system-out>
81
- <system-err>
82
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
83
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
84
- Exception `EOFError' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:442 - end of file reached
85
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
86
- Exception `EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:396 - end of file reached
87
- Exception `EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:396 - end of file reached
88
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
89
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
90
- Exception `EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:396 - end of file reached
91
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
92
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
93
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
94
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
95
- Exception `HTTPClient::RetryableResponse' at /mnt/home/nahi/git/httpclient/lib/httpclient.rb:1103 - HTTPClient::RetryableResponse
96
- Exception `EOFError' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:442 - end of file reached
97
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
98
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:261 - stream closed
99
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
100
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
101
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
102
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
103
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
104
- Exception `EOFError' at /mnt/home/nahi/git/httpclient/test/test_httpclient.rb:1130 - EOFError
105
- Exception `EOFError' at /mnt/home/nahi/git/httpclient/test/test_httpclient.rb:1158 - EOFError
106
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
107
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
108
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
109
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
110
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
111
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
112
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
113
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
114
- Exception `IOError' at /usr/local/lib/ruby/2.1.0/webrick/server.rb:170 - closed stream
115
- Exception `WEBrick::HTTPStatus::MovedPermanently' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::MovedPermanently
116
- Exception `WEBrick::HTTPStatus::TemporaryRedirect' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::TemporaryRedirect
117
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
118
- Exception `WEBrick::HTTPStatus::MovedPermanently' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::MovedPermanently
119
- Exception `WEBrick::HTTPStatus::TemporaryRedirect' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::TemporaryRedirect
120
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
121
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
122
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
123
- Exception `WEBrick::HTTPStatus::NotFound' at /usr/local/lib/ruby/2.1.0/webrick/httpservlet/filehandler.rb:331 - `/notfound' not found.
124
- Exception `HTTPClient::BadResponseError' at /mnt/home/nahi/git/httpclient/lib/httpclient.rb:975 - unexpected response: #&lt;HTTP::Message::Headers:0x007fda6662b428 @http_version="1.1", @body_size=0, @chunked=false, @request_method="GET", @request_uri=#&lt;URI::HTTP:0x007fda6662b888 URL:http://localhost:48939/notfound&gt;, @request_query=nil, @request_absolute_uri=nil, @status_code=404, @reason_phrase="Not Found ", @body_type=nil, @body_charset=nil, @body_date=nil, @body_encoding=#&lt;Encoding:ISO-8859-1&gt;, @is_request=false, @header_item=[["Content-Type", "text/html; charset=ISO-8859-1"], ["Server", "WEBrick/1.3.1 (Ruby/2.1.0/2013-12-02) OpenSSL/1.0.1e"], ["Date", "Mon, 02 Dec 2013 15:50:23 GMT"], ["Content-Length", "294"], ["Connection", "close"]], @dumped=false&gt;
125
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:79 - WEBrick::HTTPStatus::EOFError
126
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
127
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
128
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
129
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
130
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
131
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
132
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
133
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
134
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
135
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
136
- Exception `HTTPClient::BadResponseError' at /mnt/home/nahi/git/httpclient/lib/httpclient.rb:968 - retry count exceeded
137
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
138
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
139
- Exception `WEBrick::HTTPStatus::MovedPermanently' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::MovedPermanently
140
- Exception `WEBrick::HTTPStatus::TemporaryRedirect' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::TemporaryRedirect
141
- Exception `WEBrick::HTTPStatus::Found' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::Found
142
- Exception `WEBrick::HTTPStatus::EOFError' at /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:80 - WEBrick::HTTPStatus::EOFError
143
- Exception `WEBrick::HTTPStatus::MovedPermanently' at /usr/local/lib/ruby/2.1.0/webrick/httpresponse.rb:326 - WEBrick::HTTPStatus::MovedPermanently
144
- Exception `Interrupt' at /mnt/home/nahi/git/httpclient/lib/httpclient/session.rb:957 -
145
- Exception `Interrupt' at /mnt/home/nahi/git/httpclient/bundle/ruby21/ruby/2.1.0/gems/test-unit-2.5.5/lib/test/unit/testcase.rb:436 -
146
- </system-err>
147
- </testsuite>