httpclient 2.3.4.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,9 +5,9 @@ consumer_key = 'EDIT HERE'
5
5
  consumer_secret = 'EDIT HERE'
6
6
 
7
7
  callback = ARGV.shift # can be nil for OAuth 1.0. (not 1.0a)
8
- request_token_url = 'http://twitter.com/oauth/request_token'
9
- oob_authorize_url = 'http://twitter.com/oauth/authorize'
10
- access_token_url = 'http://twitter.com/oauth/access_token'
8
+ request_token_url = 'https://api.twitter.com/oauth/request_token'
9
+ oob_authorize_url = 'https://api.twitter.com/oauth/authorize'
10
+ access_token_url = 'https://api.twitter.com/oauth/access_token'
11
11
 
12
12
  STDOUT.sync = true
13
13
 
@@ -58,4 +58,4 @@ puts "Hit [enter] to go"
58
58
  gets
59
59
 
60
60
  # Access to a protected resource. (DM)
61
- puts client.get("http://twitter.com/direct_messages.json")
61
+ puts client.get("https://api.twitter.com/1.1/direct_messages.json")
@@ -0,0 +1,11 @@
1
+ http = HTTPClient.new
2
+
3
+ p http.debug_dev
4
+
5
+ http.debug_dev = STDOUT
6
+ file = File.open("api_rest.pdf")
7
+ class <<file
8
+ undef :size
9
+ end
10
+ result = http.post('http://www.google.com/', file, {"Content-Type" => 'audio/wav'})
11
+ p result
@@ -0,0 +1,18 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ Proc-Type: 4,ENCRYPTED
3
+ DEK-Info: DES-EDE3-CBC,DE0F454B166A4941
4
+
5
+ Kub+uiaDkZAmUP2P1VKKB1tPcoJ/ZSs5sLckVv156XDfH+6OilEh+E4vXuKkJnW7
6
+ KFVM/nKrKPxLtNmKha0yx2bqZeUfUdpwq1GqTve84v/oJDTOhBXPlKlkMvzzVhdC
7
+ IeJ61BgSt4ZVWSAcorae8yvDtUCtVoc0YonuiEno5bjEOWMuOu9iwviDIO+IePdY
8
+ mgIPkEyPQOY6/Ir3ImLdqmpPfVPnNxx5fIw9VXDfTqWfY3qHnGECx17ko4PCxhkN
9
+ IwnXU8E6r6XRpHV58t7JkM88eD0crpQpZ8Ki1zVPtHq8DfQLwQI+FGt6PBmeneVl
10
+ Dne6UPIaEDpd9f5X+Q7+2jZCBOsGntNh4+E7AwnG+G4IpleUG308DWsXZZpYhfLy
11
+ 12WMzDlsaQ68qgO1a7rD+nOpIgUfIl7bdB242g7gWvXyVzZOGJIg/P3Fl6ydR7Al
12
+ afAQFH2L1YH7u9zJLIonMmVRz7VNUHwlVaPE18VGBbzwFOmZHj2THUUB3cOGfsC8
13
+ FgQz0JVZT5t7fAS53KRXhH/mWEimcrKSvZJxOBwoknQDtHS517wMhyUco63UYEQq
14
+ 2nkW6BD08Qc92xu14hWuWrActTtsJ3wyGSPMYbqo5QRvlnpaEzaQlMRXdBHYbSFJ
15
+ D5Eo2nXXqNPX7YbyIHh+cda80r9OwmH/gvXThQd79pMvNHPZ2TWnrlZF7YAdVxHH
16
+ etLrAVas2AxXs2LdhwFTI6dmxMv92gYz/WwMeZaNV7SJ4JIKHxGCmajv12cnGVh9
17
+ qCxMIFcpISr3EMwEAnF0npfQ6Xp6rKFUXuEml036vE8=
18
+ -----END RSA PRIVATE KEY-----
@@ -1,5 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require 'test/unit'
3
2
  begin
4
3
  require 'simplecov'
5
4
  require 'simplecov-rcov'
@@ -7,6 +6,7 @@ begin
7
6
  SimpleCov.start
8
7
  rescue LoadError
9
8
  end
9
+ require 'test/unit'
10
10
 
11
11
  require 'httpclient'
12
12
  require 'webrick'
@@ -98,8 +98,8 @@ module Helper
98
98
  while server.status != :Running
99
99
  Thread.pass
100
100
  unless t.alive?
101
- t.join
102
- raise
101
+ t.join
102
+ raise
103
103
  end
104
104
  end
105
105
  t
@@ -0,0 +1,221 @@
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>
@@ -0,0 +1,21 @@
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>
@@ -0,0 +1,35 @@
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>
@@ -0,0 +1,147 @@
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>