httpclient 2.1.3.1 → 2.1.4

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.
@@ -91,7 +91,7 @@ require 'httpclient/cookie'
91
91
  # res = clnt.post(uri, body)
92
92
  #
93
93
  # 2. Do multipart file upload with POST. No need to set extra header by
94
- # yourself from httpclient/2.1.3.
94
+ # yourself from httpclient/2.1.4.
95
95
  #
96
96
  # File.open('/tmp/post_data') do |file|
97
97
  # body = { 'upload' => file, 'user' => 'nahi' }
@@ -199,9 +199,9 @@ require 'httpclient/cookie'
199
199
  # ruby -rhttpclient -e 'p HTTPClient.head(ARGV.shift).header["last-modified"]' http://dev.ctor.org/
200
200
  #
201
201
  class HTTPClient
202
- VERSION = '2.1.3.1'
202
+ VERSION = '2.1.4'
203
203
  RUBY_VERSION_STRING = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
204
- /: (\S+) (\S+)/ =~ %q$Id: httpclient.rb 259 2009-01-08 12:49:04Z nahi $
204
+ /: (\S+) (\S+)/ =~ %q$Id: httpclient.rb 269 2009-02-13 13:21:15Z nahi $
205
205
  LIB_NAME = "(#{$1}/#{$2}, #{RUBY_VERSION_STRING})"
206
206
 
207
207
  include Util
@@ -874,10 +874,10 @@ private
874
874
  end
875
875
  req = HTTP::Message.new_request(method, uri, query, body, boundary)
876
876
  extheader.each do |key, value|
877
- req.header.set(key, value)
877
+ req.header.add(key, value)
878
878
  end
879
- if @cookie_manager && cookies = @cookie_manager.find(uri)
880
- req.header.set('Cookie', cookies)
879
+ if @cookie_manager && cookie = @cookie_manager.find(uri)
880
+ req.header.add('Cookie', cookie)
881
881
  end
882
882
  req
883
883
  end
@@ -991,7 +991,7 @@ private
991
991
  def do_get_header(req, res, sess)
992
992
  res.version, res.status, res.reason, headers = sess.get_header
993
993
  headers.each do |key, value|
994
- res.header.set(key, value)
994
+ res.header.add(key, value)
995
995
  end
996
996
  if @cookie_manager
997
997
  res.header['set-cookie'].each do |cookie|
@@ -71,8 +71,10 @@ class WebAgent
71
71
  OVERRIDE_OK = 32
72
72
 
73
73
  def initialize()
74
- @discard = @use = @secure = @domain_orig = @path_orig = @override = nil
75
- @path = nil
74
+ @name = @value = @domain = @path = nil
75
+ @expires = nil
76
+ @url = nil
77
+ @use = @secure = @discard = @domain_orig = @path_orig = @override = nil
76
78
  end
77
79
 
78
80
  def discard?
@@ -166,28 +168,19 @@ class WebAgent
166
168
  ## raise ArgumentError 'invalid cookie value'
167
169
  end
168
170
  @name = $1.strip
169
- @value = $3
170
- if @value
171
- if @value =~ /^\s*"(.*)"\s*$/
172
- @value = $1
173
- else
174
- @value.dup.strip!
175
- end
176
- end
171
+ @value = normalize_cookie_value($3)
177
172
  cookie_elem.each{|pair|
178
173
  key, value = pair.split(/=/) ## value may nil
179
174
  key.strip!
180
- if value
181
- value = value.strip.sub(/\A"(.*)"\z/) { $1 }
182
- end
175
+ value = normalize_cookie_value(value)
183
176
  case key.downcase
184
177
  when 'domain'
185
178
  @domain = value
186
179
  when 'expires'
180
+ @expires = nil
187
181
  begin
188
- @expires = Time.parse(value)
182
+ @expires = Time.parse(value).gmtime() if value
189
183
  rescue ArgumentError
190
- @expires = nil
191
184
  end
192
185
  when 'path'
193
186
  @path = value
@@ -199,6 +192,14 @@ class WebAgent
199
192
  }
200
193
  end
201
194
 
195
+ def normalize_cookie_value(value)
196
+ if value
197
+ value = value.strip.sub(/\A"(.*)"\z/) { $1 }
198
+ value = nil if value.empty?
199
+ end
200
+ value
201
+ end
202
+ private :normalize_cookie_value
202
203
  end
203
204
 
204
205
  class CookieManager
@@ -403,6 +404,7 @@ class WebAgent
403
404
  def load_cookies()
404
405
  return if !File.readable?(@cookies_file)
405
406
  @cookies.synchronize do
407
+ @cookies.clear
406
408
  File.open(@cookies_file,'r'){|f|
407
409
  while line = f.gets
408
410
  cookie = WebAgent::Cookie.new()
@@ -411,7 +413,11 @@ class WebAgent
411
413
  cookie.url = URI.parse(col[0])
412
414
  cookie.name = col[1]
413
415
  cookie.value = col[2]
414
- cookie.expires = Time.at(col[3].to_i)
416
+ if col[3].empty? or col[3] == '0'
417
+ cookie.expires = nil
418
+ else
419
+ cookie.expires = Time.at(col[3].to_i).gmtime
420
+ end
415
421
  cookie.domain = col[4]
416
422
  cookie.path = col[5]
417
423
  cookie.set_flag(col[6])
@@ -236,8 +236,20 @@ module HTTP
236
236
  end
237
237
 
238
238
  # Adds a header. Addition order is preserved.
239
+ def add(key, value)
240
+ if value.is_a?(Array)
241
+ value.each do |v|
242
+ @header_item.push([key, v])
243
+ end
244
+ else
245
+ @header_item.push([key, value])
246
+ end
247
+ end
248
+
249
+ # Sets a header.
239
250
  def set(key, value)
240
- @header_item.push([key, value])
251
+ delete(key)
252
+ add(key, value)
241
253
  end
242
254
 
243
255
  # Returns an Array of headers for the given key. Each element is a pair
@@ -312,7 +324,12 @@ module HTTP
312
324
  set('Content-Length', @body_size.to_s)
313
325
  end
314
326
  if @http_version >= 1.1
315
- set('Host', "#{@request_uri.host}:#{@request_uri.port}")
327
+ if @request_uri.port == @request_uri.default_port
328
+ # GFE/1.3 dislikes default port number (returns 404)
329
+ set('Host', "#{@request_uri.host}")
330
+ else
331
+ set('Host', "#{@request_uri.host}:#{@request_uri.port}")
332
+ end
316
333
  end
317
334
  end
318
335
 
@@ -108,13 +108,13 @@ class HTTPClient
108
108
 
109
109
  def initialize(client)
110
110
  @client = client
111
- @proxy = nil
111
+ @proxy = client.proxy
112
112
 
113
113
  @agent_name = nil
114
114
  @from = nil
115
115
 
116
116
  @protocol_version = nil
117
- @debug_dev = nil
117
+ @debug_dev = client.debug_dev
118
118
  @socket_sync = true
119
119
  @chunk_size = 4096
120
120
 
@@ -721,7 +721,7 @@ class HTTPClient
721
721
 
722
722
  # Read status block.
723
723
  def read_header
724
- @content_length = 0
724
+ @content_length = nil
725
725
  @chunked = false
726
726
  @chunk_length = 0
727
727
  parse_header
@@ -833,14 +833,14 @@ class HTTPClient
833
833
  end
834
834
 
835
835
  def read_body_rest
836
- if @readbuf.length > 0
836
+ if @readbuf and @readbuf.length > 0
837
837
  yield @readbuf
838
838
  @readbuf = nil
839
839
  end
840
840
  buf = ''
841
841
  while true
842
842
  timeout(@receive_timeout, ReceiveTimeoutError) do
843
- @socket.read(@read_block_size, buf)
843
+ @socket.readpartial(@read_block_size, buf) rescue EOFError
844
844
  end
845
845
  if buf && buf.length > 0
846
846
  yield buf
@@ -57,7 +57,6 @@ class HTTPClient
57
57
  @pool = {}
58
58
  @next = nil
59
59
  @thread = start_timer_thread
60
- Thread.pass while @thread.status != 'sleep'
61
60
  end
62
61
 
63
62
  # Registers new timeout period.
@@ -65,7 +64,12 @@ class HTTPClient
65
64
  period = Period.new(thread, Time.now + sec, ex || ::Timeout::Error)
66
65
  @pool[period] = true
67
66
  if @next.nil? or period.time < @next
68
- @thread.wakeup
67
+ begin
68
+ @thread.wakeup
69
+ rescue ThreadError
70
+ # Thread may be dead by fork.
71
+ @thread = start_timer_thread
72
+ end
69
73
  end
70
74
  period
71
75
  end
@@ -79,7 +83,7 @@ class HTTPClient
79
83
  private
80
84
 
81
85
  def start_timer_thread
82
- Thread.new {
86
+ thread = Thread.new {
83
87
  while true
84
88
  if @pool.empty?
85
89
  @next = nil
@@ -101,19 +105,29 @@ class HTTPClient
101
105
  end
102
106
  end
103
107
  }
108
+ Thread.pass while thread.status != 'sleep'
109
+ thread
104
110
  end
105
111
  end
106
112
 
107
- TIMEOUT_SCHEDULER = TimeoutScheduler.new
113
+ class << self
114
+ # CAUTION: caller must aware of race condition.
115
+ def timeout_scheduler
116
+ @timeout_scheduler ||= TimeoutScheduler.new
117
+ end
118
+ end
119
+ timeout_scheduler # initialize at first time.
108
120
 
109
121
  module Timeout
110
122
  def timeout(sec, ex = nil, &block)
111
123
  return yield if sec == nil or sec.zero?
124
+ scheduler = nil
112
125
  begin
113
- period = TIMEOUT_SCHEDULER.register(Thread.current, sec, ex)
126
+ scheduler = HTTPClient.timeout_scheduler
127
+ period = scheduler.register(Thread.current, sec, ex)
114
128
  yield(sec)
115
129
  ensure
116
- TIMEOUT_SCHEDULER.cancel(period)
130
+ scheduler.cancel(period) if scheduler and period
117
131
  end
118
132
  end
119
133
  end
data/lib/tags CHANGED
@@ -1,6 +1,4 @@
1
1
  ::HTTP httpclient/http.rb /^module HTTP/
2
- ::HTTP.http_date httpclient/http.rb /^ def http_date/
3
- ::HTTP.keep_alive_enabled? httpclient/http.rb /^ def keep_alive_enabled?/
4
2
  ::HTTP::Message httpclient/http.rb /^ class Message/
5
3
  ::HTTP::Message#HTTP::Message.new httpclient/http.rb /^ def initialize/
6
4
  ::HTTP::Message#body httpclient/http.rb /^ attr_reader :body/
@@ -10,9 +8,7 @@
10
8
  ::HTTP::Message#contenttype httpclient/http.rb /^ def contenttype/
11
9
  ::HTTP::Message#contenttype= httpclient/http.rb /^ def contenttype=/
12
10
  ::HTTP::Message#dump httpclient/http.rb /^ def dump/
13
- ::HTTP::Message#header httpclient/http.rb /^ attr_reader :header/
14
- ::HTTP::Message#header= httpclient/http.rb /^ def header=/
15
- ::HTTP::Message#load httpclient/http.rb /^ def load/
11
+ ::HTTP::Message#header httpclient/http.rb /^ attr_accessor :header/
16
12
  ::HTTP::Message#peer_cert httpclient/http.rb /^ attr_accessor :peer_cert/
17
13
  ::HTTP::Message#reason httpclient/http.rb /^ def reason/
18
14
  ::HTTP::Message#reason= httpclient/http.rb /^ def reason=/
@@ -25,14 +21,17 @@
25
21
  ::HTTP::Message.escape httpclient/http.rb /^ def escape/
26
22
  ::HTTP::Message.escape_query httpclient/http.rb /^ def escape_query/
27
23
  ::HTTP::Message.file? httpclient/http.rb /^ def file?/
28
- ::HTTP::Message.get_mime_type_func httpclient/http.rb /^ def get_mime_type_func/
24
+ ::HTTP::Message.get_mime_type_func httpclient/http.rb /^ alias get_mime_type_func/
29
25
  ::HTTP::Message.internal_mime_type httpclient/http.rb /^ def internal_mime_type/
26
+ ::HTTP::Message.keep_alive_enabled? httpclient/http.rb /^ def keep_alive_enabled?/
30
27
  ::HTTP::Message.mime_type httpclient/http.rb /^ def mime_type/
28
+ ::HTTP::Message.mime_type_handler httpclient/http.rb /^ def mime_type_handler/
29
+ ::HTTP::Message.mime_type_handler= httpclient/http.rb /^ def mime_type_handler=/
31
30
  ::HTTP::Message.multiparam_query? httpclient/http.rb /^ def multiparam_query?/
32
- ::HTTP::Message.new_connect_request httpclient/http.rb /^ def self.new_connect_request/
33
- ::HTTP::Message.new_request httpclient/http.rb /^ def self.new_request/
34
- ::HTTP::Message.new_response httpclient/http.rb /^ def self.new_response/
35
- ::HTTP::Message.set_mime_type_func httpclient/http.rb /^ def set_mime_type_func/
31
+ ::HTTP::Message.new_connect_request httpclient/http.rb /^ def new_connect_request/
32
+ ::HTTP::Message.new_request httpclient/http.rb /^ def new_request/
33
+ ::HTTP::Message.new_response httpclient/http.rb /^ def new_response/
34
+ ::HTTP::Message.set_mime_type_func httpclient/http.rb /^ alias set_mime_type_func/
36
35
  ::HTTP::Message::Body httpclient/http.rb /^ class Body/
37
36
  ::HTTP::Message::Body#HTTP::Message::Body.new httpclient/http.rb /^ def initialize/
38
37
  ::HTTP::Message::Body#build_query_multipart_str httpclient/http.rb /^ def build_query_multipart_str/
@@ -60,12 +59,14 @@
60
59
  ::HTTP::Message::Headers#HTTP::Message::Headers.new httpclient/http.rb /^ def initialize/
61
60
  ::HTTP::Message::Headers#[] httpclient/http.rb /^ def []/
62
61
  ::HTTP::Message::Headers#[]= httpclient/http.rb /^ def []=/
62
+ ::HTTP::Message::Headers#add httpclient/http.rb /^ def add/
63
63
  ::HTTP::Message::Headers#all httpclient/http.rb /^ def all/
64
- ::HTTP::Message::Headers#body_charset httpclient/http.rb /^ attr_accessor :body_charset/
65
- ::HTTP::Message::Headers#body_date httpclient/http.rb /^ attr_accessor :body_date/
64
+ ::HTTP::Message::Headers#body_charset httpclient/http.rb /^ attr_accessor :body_charset # :nodoc:/
65
+ ::HTTP::Message::Headers#body_date httpclient/http.rb /^ attr_accessor :body_date # :nodoc:/
66
66
  ::HTTP::Message::Headers#body_size httpclient/http.rb /^ attr_reader :body_size/
67
67
  ::HTTP::Message::Headers#body_size= httpclient/http.rb /^ def body_size=/
68
- ::HTTP::Message::Headers#body_type httpclient/http.rb /^ attr_accessor :body_type/
68
+ ::HTTP::Message::Headers#body_type httpclient/http.rb /^ attr_accessor :body_type # :nodoc:/
69
+ ::HTTP::Message::Headers#charset_label httpclient/http.rb /^ def charset_label/
69
70
  ::HTTP::Message::Headers#chunked httpclient/http.rb /^ attr_accessor :chunked/
70
71
  ::HTTP::Message::Headers#contenttype httpclient/http.rb /^ def contenttype/
71
72
  ::HTTP::Message::Headers#contenttype= httpclient/http.rb /^ def contenttype=/
@@ -83,13 +84,13 @@
83
84
  ::HTTP::Message::Headers#request_query httpclient/http.rb /^ attr_accessor :request_query/
84
85
  ::HTTP::Message::Headers#request_uri httpclient/http.rb /^ attr_accessor :request_uri/
85
86
  ::HTTP::Message::Headers#request_via_proxy httpclient/http.rb /^ attr_accessor :request_via_proxy/
86
- ::HTTP::Message::Headers#response_status_code httpclient/http.rb /^ attr_reader :response_status_code/
87
- ::HTTP::Message::Headers#response_status_code= httpclient/http.rb /^ def response_status_code=/
88
87
  ::HTTP::Message::Headers#response_status_line httpclient/http.rb /^ def response_status_line/
89
88
  ::HTTP::Message::Headers#set httpclient/http.rb /^ def set/
90
89
  ::HTTP::Message::Headers#set_header httpclient/http.rb /^ def set_header/
91
90
  ::HTTP::Message::Headers#set_request_header httpclient/http.rb /^ def set_request_header/
92
91
  ::HTTP::Message::Headers#set_response_header httpclient/http.rb /^ def set_response_header/
92
+ ::HTTP::Message::Headers#status_code httpclient/http.rb /^ attr_reader :status_code/
93
+ ::HTTP::Message::Headers#status_code= httpclient/http.rb /^ def status_code=/
93
94
  ::HTTP::Status httpclient/http.rb /^ module Status/
94
95
  ::HTTP::Status.redirect? httpclient/http.rb /^ def self.redirect?/
95
96
  ::HTTP::Status.successful? httpclient/http.rb /^ def self.successful?/
@@ -124,6 +125,7 @@
124
125
  ::HTTPClient#getenv httpclient.rb /^ def getenv/
125
126
  ::HTTPClient#head httpclient.rb /^ def head/
126
127
  ::HTTPClient#head_async httpclient.rb /^ def head_async/
128
+ ::HTTPClient#https? httpclient.rb /^ def https?/
127
129
  ::HTTPClient#load_environment httpclient.rb /^ def load_environment/
128
130
  ::HTTPClient#no_proxy httpclient.rb /^ def no_proxy/
129
131
  ::HTTPClient#no_proxy= httpclient.rb /^ def no_proxy=/
@@ -162,6 +164,7 @@
162
164
  ::HTTPClient#trace_async httpclient.rb /^ def trace_async/
163
165
  ::HTTPClient#www_auth httpclient.rb /^ attr_reader :www_auth/
164
166
  ::HTTPClient.attr_proxy httpclient.rb /^ def attr_proxy/
167
+ ::HTTPClient.timeout_scheduler httpclient/timeout.rb /^ def timeout_scheduler/
165
168
  ::HTTPClient::AuthFilterBase httpclient/auth.rb /^ class AuthFilterBase/
166
169
  ::HTTPClient::AuthFilterBase#parse_authentication_header httpclient/auth.rb /^ def parse_authentication_header/
167
170
  ::HTTPClient::AuthFilterBase#parse_challenge_header httpclient/auth.rb /^ def parse_challenge_header/
@@ -197,6 +200,7 @@
197
200
  ::HTTPClient::DigestAuth#calc_cred httpclient/auth.rb /^ def calc_cred/
198
201
  ::HTTPClient::DigestAuth#challenge httpclient/auth.rb /^ def challenge/
199
202
  ::HTTPClient::DigestAuth#get httpclient/auth.rb /^ def get/
203
+ ::HTTPClient::DigestAuth#parse_challenge_param httpclient/auth.rb /^ def parse_challenge_param/
200
204
  ::HTTPClient::DigestAuth#reset_challenge httpclient/auth.rb /^ def reset_challenge/
201
205
  ::HTTPClient::DigestAuth#scheme httpclient/auth.rb /^ attr_reader :scheme/
202
206
  ::HTTPClient::DigestAuth#set httpclient/auth.rb /^ def set/
@@ -204,7 +208,6 @@
204
208
  ::HTTPClient::LoopBackSocket httpclient/session.rb /^ class LoopBackSocket/
205
209
  ::HTTPClient::LoopBackSocket#<< httpclient/session.rb /^ def <</
206
210
  ::HTTPClient::LoopBackSocket#HTTPClient::LoopBackSocket.new httpclient/session.rb /^ def initialize/
207
- ::HTTPClient::LoopBackSocket#addr httpclient/session.rb /^ def addr/
208
211
  ::HTTPClient::NegotiateAuth httpclient/auth.rb /^ class NegotiateAuth/
209
212
  ::HTTPClient::NegotiateAuth#HTTPClient::NegotiateAuth.new httpclient/auth.rb /^ def initialize/
210
213
  ::HTTPClient::NegotiateAuth#challenge httpclient/auth.rb /^ def challenge/
@@ -226,13 +229,13 @@
226
229
  ::HTTPClient::RetryableResponse httpclient.rb /^ class RetryableResponse/
227
230
  ::HTTPClient::SSLConfig httpclient/ssl_config.rb /^ class SSLConfig/
228
231
  ::HTTPClient::SSLConfig#HTTPClient::SSLConfig.new httpclient/ssl_config.rb /^ def initialize/
229
- ::HTTPClient::SSLConfig#cert_store httpclient/ssl_config.rb /^ attr_reader :cert_store # don't use if you don't know what it is./
232
+ ::HTTPClient::SSLConfig#cert_store httpclient/ssl_config.rb /^ attr_reader :cert_store # don't use if you don't know what it is./
230
233
  ::HTTPClient::SSLConfig#cert_store= httpclient/ssl_config.rb /^ def cert_store=/
231
234
  ::HTTPClient::SSLConfig#change_notify httpclient/ssl_config.rb /^ def change_notify/
232
235
  ::HTTPClient::SSLConfig#ciphers httpclient/ssl_config.rb /^ attr_reader :ciphers/
233
236
  ::HTTPClient::SSLConfig#ciphers= httpclient/ssl_config.rb /^ def ciphers=/
234
237
  ::HTTPClient::SSLConfig#clear_cert_store httpclient/ssl_config.rb /^ def clear_cert_store/
235
- ::HTTPClient::SSLConfig#client_ca httpclient/ssl_config.rb /^ attr_reader :client_ca/
238
+ ::HTTPClient::SSLConfig#client_ca httpclient/ssl_config.rb /^ attr_reader :client_ca # :nodoc:/
236
239
  ::HTTPClient::SSLConfig#client_ca= httpclient/ssl_config.rb /^ def client_ca=/
237
240
  ::HTTPClient::SSLConfig#client_cert httpclient/ssl_config.rb /^ attr_reader :client_cert/
238
241
  ::HTTPClient::SSLConfig#client_cert= httpclient/ssl_config.rb /^ def client_cert=/
@@ -259,7 +262,6 @@
259
262
  ::HTTPClient::SSLSocketWrap httpclient/session.rb /^ class SSLSocketWrap/
260
263
  ::HTTPClient::SSLSocketWrap#<< httpclient/session.rb /^ def <</
261
264
  ::HTTPClient::SSLSocketWrap#HTTPClient::SSLSocketWrap.new httpclient/session.rb /^ def initialize/
262
- ::HTTPClient::SSLSocketWrap#addr httpclient/session.rb /^ def addr/
263
265
  ::HTTPClient::SSLSocketWrap#check_mask httpclient/session.rb /^ def check_mask/
264
266
  ::HTTPClient::SSLSocketWrap#close httpclient/session.rb /^ def close/
265
267
  ::HTTPClient::SSLSocketWrap#closed? httpclient/session.rb /^ def closed?/
@@ -294,15 +296,15 @@
294
296
  ::HTTPClient::Session#connect_timeout httpclient/session.rb /^ attr_accessor :connect_timeout/
295
297
  ::HTTPClient::Session#create_socket httpclient/session.rb /^ def create_socket/
296
298
  ::HTTPClient::Session#create_ssl_socket httpclient/session.rb /^ def create_ssl_socket/
297
- ::HTTPClient::Session#debug_dev httpclient/session.rb /^ attr_accessor :debug_dev # Device for dumping log for debugging/
298
- ::HTTPClient::Session#dest httpclient/session.rb /^ attr_reader :dest # Destination site/
299
+ ::HTTPClient::Session#debug_dev httpclient/session.rb /^ attr_accessor :debug_dev/
300
+ ::HTTPClient::Session#dest httpclient/session.rb /^ attr_reader :dest/
299
301
  ::HTTPClient::Session#eof? httpclient/session.rb /^ def eof?/
300
302
  ::HTTPClient::Session#get_body httpclient/session.rb /^ def get_body/
301
303
  ::HTTPClient::Session#get_header httpclient/session.rb /^ def get_header/
302
304
  ::HTTPClient::Session#parse_header httpclient/session.rb /^ def parse_header/
303
305
  ::HTTPClient::Session#parse_keepalive_header httpclient/session.rb /^ def parse_keepalive_header/
304
306
  ::HTTPClient::Session#protocol_retry_count httpclient/session.rb /^ attr_accessor :protocol_retry_count/
305
- ::HTTPClient::Session#proxy httpclient/session.rb /^ attr_accessor :proxy # Proxy site/
307
+ ::HTTPClient::Session#proxy httpclient/session.rb /^ attr_accessor :proxy/
306
308
  ::HTTPClient::Session#query httpclient/session.rb /^ def query/
307
309
  ::HTTPClient::Session#read_block_size httpclient/session.rb /^ attr_accessor :read_block_size/
308
310
  ::HTTPClient::Session#read_body_chunked httpclient/session.rb /^ def read_body_chunked/
@@ -310,32 +312,29 @@
310
312
  ::HTTPClient::Session#read_body_rest httpclient/session.rb /^ def read_body_rest/
311
313
  ::HTTPClient::Session#read_header httpclient/session.rb /^ def read_header/
312
314
  ::HTTPClient::Session#receive_timeout httpclient/session.rb /^ attr_accessor :receive_timeout/
313
- ::HTTPClient::Session#requested_version httpclient/session.rb /^ attr_accessor :requested_version # Requested protocol version/
315
+ ::HTTPClient::Session#requested_version httpclient/session.rb /^ attr_accessor :requested_version/
314
316
  ::HTTPClient::Session#send_timeout httpclient/session.rb /^ attr_accessor :send_timeout/
315
317
  ::HTTPClient::Session#set_header httpclient/session.rb /^ def set_header/
316
- ::HTTPClient::Session#socket_sync httpclient/session.rb /^ attr_accessor :socket_sync # Boolean value for Socket#sync/
317
- ::HTTPClient::Session#src httpclient/session.rb /^ def src/
318
+ ::HTTPClient::Session#socket_sync httpclient/session.rb /^ attr_accessor :socket_sync/
318
319
  ::HTTPClient::Session#ssl_config httpclient/session.rb /^ attr_accessor :ssl_config/
319
320
  ::HTTPClient::Session#ssl_peer_cert httpclient/session.rb /^ attr_reader :ssl_peer_cert/
320
321
  ::HTTPClient::Session#test_loopback_http_response httpclient/session.rb /^ attr_accessor :test_loopback_http_response/
321
- ::HTTPClient::Session::Error httpclient/session.rb /^ class Error/
322
- ::HTTPClient::Session::InvalidState httpclient/session.rb /^ class InvalidState/
323
322
  ::HTTPClient::SessionManager httpclient/session.rb /^ class SessionManager/
324
323
  ::HTTPClient::SessionManager#HTTPClient::SessionManager.new httpclient/session.rb /^ def initialize/
325
324
  ::HTTPClient::SessionManager#add_cached_session httpclient/session.rb /^ def add_cached_session/
326
- ::HTTPClient::SessionManager#agent_name httpclient/session.rb /^ attr_accessor :agent_name # Name of this client./
327
- ::HTTPClient::SessionManager#chunk_size httpclient/session.rb /^ attr_accessor :chunk_size # Chunk size for chunked request/
325
+ ::HTTPClient::SessionManager#agent_name httpclient/session.rb /^ attr_accessor :agent_name/
326
+ ::HTTPClient::SessionManager#chunk_size httpclient/session.rb /^ attr_accessor :chunk_size/
328
327
  ::HTTPClient::SessionManager#close httpclient/session.rb /^ def close/
329
328
  ::HTTPClient::SessionManager#close_all httpclient/session.rb /^ def close_all/
330
- ::HTTPClient::SessionManager#connect_retry httpclient/session.rb /^ attr_accessor :connect_retry # Maximum retry count. 0 for infinite./
329
+ ::HTTPClient::SessionManager#connect_retry httpclient/session.rb /^ attr_accessor :connect_retry/
331
330
  ::HTTPClient::SessionManager#connect_timeout httpclient/session.rb /^ attr_accessor :connect_timeout/
332
- ::HTTPClient::SessionManager#debug_dev httpclient/session.rb /^ attr_accessor :debug_dev # Device for dumping log for debugging/
333
- ::HTTPClient::SessionManager#from httpclient/session.rb /^ attr_accessor :from # Owner of this client./
331
+ ::HTTPClient::SessionManager#debug_dev httpclient/session.rb /^ attr_accessor :debug_dev/
332
+ ::HTTPClient::SessionManager#from httpclient/session.rb /^ attr_accessor :from/
334
333
  ::HTTPClient::SessionManager#get_cached_session httpclient/session.rb /^ def get_cached_session/
335
334
  ::HTTPClient::SessionManager#keep httpclient/session.rb /^ def keep/
336
335
  ::HTTPClient::SessionManager#open httpclient/session.rb /^ def open/
337
336
  ::HTTPClient::SessionManager#protocol_retry_count httpclient/session.rb /^ attr_accessor :protocol_retry_count/
338
- ::HTTPClient::SessionManager#protocol_version httpclient/session.rb /^ attr_accessor :protocol_version # Requested protocol version/
337
+ ::HTTPClient::SessionManager#protocol_version httpclient/session.rb /^ attr_accessor :protocol_version/
339
338
  ::HTTPClient::SessionManager#proxy= httpclient/session.rb /^ def proxy=/
340
339
  ::HTTPClient::SessionManager#query httpclient/session.rb /^ def query/
341
340
  ::HTTPClient::SessionManager#read_block_size httpclient/session.rb /^ attr_accessor :read_block_size/
@@ -343,7 +342,7 @@
343
342
  ::HTTPClient::SessionManager#reset httpclient/session.rb /^ def reset/
344
343
  ::HTTPClient::SessionManager#reset_all httpclient/session.rb /^ def reset_all/
345
344
  ::HTTPClient::SessionManager#send_timeout httpclient/session.rb /^ attr_accessor :send_timeout/
346
- ::HTTPClient::SessionManager#socket_sync httpclient/session.rb /^ attr_accessor :socket_sync # Boolean value for Socket#sync/
345
+ ::HTTPClient::SessionManager#socket_sync httpclient/session.rb /^ attr_accessor :socket_sync/
347
346
  ::HTTPClient::SessionManager#ssl_config httpclient/session.rb /^ attr_accessor :ssl_config/
348
347
  ::HTTPClient::SessionManager#test_loopback_http_response httpclient/session.rb /^ attr_reader :test_loopback_http_response/
349
348
  ::HTTPClient::Site httpclient/session.rb /^ class Site/
@@ -352,17 +351,15 @@
352
351
  ::HTTPClient::Site#addr httpclient/session.rb /^ def addr/
353
352
  ::HTTPClient::Site#eql? httpclient/session.rb /^ def eql?/
354
353
  ::HTTPClient::Site#hash httpclient/session.rb /^ def hash/
355
- ::HTTPClient::Site#host httpclient/session.rb /^ attr_accessor :host/
354
+ ::HTTPClient::Site#host httpclient/session.rb /^ attr_reader :host/
356
355
  ::HTTPClient::Site#inspect httpclient/session.rb /^ def inspect/
357
356
  ::HTTPClient::Site#match httpclient/session.rb /^ def match/
358
357
  ::HTTPClient::Site#port httpclient/session.rb /^ attr_reader :port/
359
- ::HTTPClient::Site#port= httpclient/session.rb /^ def port=/
360
358
  ::HTTPClient::Site#scheme httpclient/session.rb /^ attr_accessor :scheme/
361
359
  ::HTTPClient::Site#to_s httpclient/session.rb /^ def to_s/
362
360
  ::HTTPClient::SocketWrap httpclient/session.rb /^ module SocketWrap/
363
361
  ::HTTPClient::SocketWrap#<< httpclient/session.rb /^ def <</
364
362
  ::HTTPClient::SocketWrap#HTTPClient::SocketWrap.new httpclient/session.rb /^ def initialize/
365
- ::HTTPClient::SocketWrap#addr httpclient/session.rb /^ def addr/
366
363
  ::HTTPClient::SocketWrap#close httpclient/session.rb /^ def close/
367
364
  ::HTTPClient::SocketWrap#closed? httpclient/session.rb /^ def closed?/
368
365
  ::HTTPClient::SocketWrap#eof? httpclient/session.rb /^ def eof?/
@@ -382,13 +379,13 @@
382
379
  ::HTTPClient::TimeoutScheduler#start_timer_thread httpclient/timeout.rb /^ def start_timer_thread/
383
380
  ::HTTPClient::TimeoutScheduler::Period httpclient/timeout.rb /^ class Period/
384
381
  ::HTTPClient::TimeoutScheduler::Period#HTTPClient::TimeoutScheduler::Period.new httpclient/timeout.rb /^ def initialize/
385
- ::HTTPClient::TimeoutScheduler::Period#ex httpclient/timeout.rb /^ attr_reader :thread, :time, :ex/
386
- ::HTTPClient::TimeoutScheduler::Period#thread httpclient/timeout.rb /^ attr_reader :thread, :time, :ex/
387
- ::HTTPClient::TimeoutScheduler::Period#time httpclient/timeout.rb /^ attr_reader :thread, :time, :ex/
382
+ ::HTTPClient::TimeoutScheduler::Period#cancel httpclient/timeout.rb /^ def cancel/
383
+ ::HTTPClient::TimeoutScheduler::Period#raise httpclient/timeout.rb /^ def raise/
384
+ ::HTTPClient::TimeoutScheduler::Period#thread httpclient/timeout.rb /^ attr_reader :thread, :time/
385
+ ::HTTPClient::TimeoutScheduler::Period#time httpclient/timeout.rb /^ attr_reader :thread, :time/
388
386
  ::HTTPClient::Util httpclient/util.rb /^ module Util/
389
387
  ::HTTPClient::Util#hash_find_value httpclient/util.rb /^ def hash_find_value/
390
388
  ::HTTPClient::Util#keyword_argument httpclient/util.rb /^ def keyword_argument/
391
- ::HTTPClient::Util#parse_challenge_param httpclient/util.rb /^ def parse_challenge_param/
392
389
  ::HTTPClient::Util#uri_dirname httpclient/util.rb /^ def uri_dirname/
393
390
  ::HTTPClient::Util#uri_part_of httpclient/util.rb /^ def uri_part_of/
394
391
  ::HTTPClient::Util#urify httpclient/util.rb /^ def urify/
@@ -414,6 +411,7 @@
414
411
  ::WebAgent::Cookie#join_quotedstr httpclient/cookie.rb /^ def join_quotedstr/
415
412
  ::WebAgent::Cookie#match? httpclient/cookie.rb /^ def match?/
416
413
  ::WebAgent::Cookie#name httpclient/cookie.rb /^ attr_accessor :name, :value/
414
+ ::WebAgent::Cookie#normalize_cookie_value httpclient/cookie.rb /^ def normalize_cookie_value/
417
415
  ::WebAgent::Cookie#override httpclient/cookie.rb /^ attr_writer :use, :secure, :discard, :domain_orig, :path_orig, :override/
418
416
  ::WebAgent::Cookie#override? httpclient/cookie.rb /^ def override?/
419
417
  ::WebAgent::Cookie#parse httpclient/cookie.rb /^ def parse/
@@ -472,7 +470,6 @@ CookieUtils httpclient/cookie.rb /^ module CookieUtils/
472
470
  DebugSocket httpclient/session.rb /^ module DebugSocket/
473
471
  DigestAuth httpclient/auth.rb /^ class DigestAuth/
474
472
  Error httpclient/cookie.rb /^ class Error/
475
- Error httpclient/session.rb /^ class Error/
476
473
  ErrorOverrideOK httpclient/cookie.rb /^ class ErrorOverrideOK/
477
474
  HTTP httpclient/http.rb /^module HTTP/
478
475
  HTTP::Message.new httpclient/http.rb /^ def initialize/
@@ -505,7 +502,6 @@ HTTPClient::TimeoutScheduler.new httpclient/timeout.rb /^ def initialize/
505
502
  HTTPClient::TimeoutScheduler::Period.new httpclient/timeout.rb /^ def initialize/
506
503
  HTTPClient::WWWAuth.new httpclient/auth.rb /^ def initialize/
507
504
  Headers httpclient/http.rb /^ class Headers/
508
- InvalidState httpclient/session.rb /^ class InvalidState/
509
505
  KeepAliveDisconnected httpclient.rb /^ class KeepAliveDisconnected/
510
506
  LoopBackSocket httpclient/session.rb /^ class LoopBackSocket/
511
507
  Message httpclient/http.rb /^ class Message/
@@ -539,12 +535,10 @@ WebAgent::CookieManager.new httpclient/cookie.rb /^ def initialize/
539
535
  accept_domains httpclient/cookie.rb /^ attr_accessor :accept_domains, :reject_domains/
540
536
  add httpclient/cookie.rb /^ def add/
541
537
  add httpclient/http.rb /^ def add/
538
+ add httpclient/http.rb /^ def add/
542
539
  add_cached_session httpclient/session.rb /^ def add_cached_session/
543
540
  addr httpclient/session.rb /^ def addr/
544
- addr httpclient/session.rb /^ def addr/
545
- addr httpclient/session.rb /^ def addr/
546
- addr httpclient/session.rb /^ def addr/
547
- agent_name httpclient/session.rb /^ attr_accessor :agent_name # Name of this client./
541
+ agent_name httpclient/session.rb /^ attr_accessor :agent_name/
548
542
  all httpclient/http.rb /^ def all/
549
543
  async_thread httpclient/connection.rb /^ attr_accessor :async_thread/
550
544
  attr_proxy httpclient.rb /^ def attr_proxy/
@@ -552,31 +546,33 @@ basic_auth httpclient/auth.rb /^ attr_reader :basic_auth/
552
546
  basic_auth httpclient/auth.rb /^ attr_reader :basic_auth/
553
547
  body httpclient/http.rb /^ attr_reader :body/
554
548
  body= httpclient/http.rb /^ def body=/
555
- body_charset httpclient/http.rb /^ attr_accessor :body_charset/
556
- body_date httpclient/http.rb /^ attr_accessor :body_date/
549
+ body_charset httpclient/http.rb /^ attr_accessor :body_charset # :nodoc:/
550
+ body_date httpclient/http.rb /^ attr_accessor :body_date # :nodoc:/
557
551
  body_size httpclient/http.rb /^ attr_reader :body_size/
558
552
  body_size= httpclient/http.rb /^ def body_size=/
559
- body_type httpclient/http.rb /^ attr_accessor :body_type/
553
+ body_type httpclient/http.rb /^ attr_accessor :body_type # :nodoc:/
560
554
  build_query_multipart_str httpclient/http.rb /^ def build_query_multipart_str/
561
555
  calc_cred httpclient/auth.rb /^ def calc_cred/
556
+ cancel httpclient/timeout.rb /^ def cancel/
562
557
  cancel httpclient/timeout.rb /^ def cancel/
563
- cert_store httpclient/ssl_config.rb /^ attr_reader :cert_store # don't use if you don't know what it is./
558
+ cert_store httpclient/ssl_config.rb /^ attr_reader :cert_store # don't use if you don't know what it is./
564
559
  cert_store= httpclient/ssl_config.rb /^ def cert_store=/
565
560
  challenge httpclient/auth.rb /^ def challenge/
566
561
  challenge httpclient/auth.rb /^ def challenge/
567
562
  challenge httpclient/auth.rb /^ def challenge/
568
563
  challenge httpclient/auth.rb /^ def challenge/
569
564
  change_notify httpclient/ssl_config.rb /^ def change_notify/
565
+ charset_label httpclient/http.rb /^ def charset_label/
570
566
  check_cookie_accept_domain httpclient/cookie.rb /^ def check_cookie_accept_domain/
571
567
  check_expired_cookies httpclient/cookie.rb /^ def check_expired_cookies/
572
568
  check_mask httpclient/session.rb /^ def check_mask/
573
569
  chunk_size httpclient/http.rb /^ attr_accessor :chunk_size/
574
- chunk_size httpclient/session.rb /^ attr_accessor :chunk_size # Chunk size for chunked request/
570
+ chunk_size httpclient/session.rb /^ attr_accessor :chunk_size/
575
571
  chunked httpclient/http.rb /^ attr_accessor :chunked/
576
572
  ciphers httpclient/ssl_config.rb /^ attr_reader :ciphers/
577
573
  ciphers= httpclient/ssl_config.rb /^ def ciphers=/
578
574
  clear_cert_store httpclient/ssl_config.rb /^ def clear_cert_store/
579
- client_ca httpclient/ssl_config.rb /^ attr_reader :client_ca/
575
+ client_ca httpclient/ssl_config.rb /^ attr_reader :client_ca # :nodoc:/
580
576
  client_ca= httpclient/ssl_config.rb /^ def client_ca=/
581
577
  client_cert httpclient/ssl_config.rb /^ attr_reader :client_cert/
582
578
  client_cert= httpclient/ssl_config.rb /^ def client_cert=/
@@ -593,7 +589,7 @@ closed? httpclient/session.rb /^ def closed?/
593
589
  closed? httpclient/session.rb /^ def closed?/
594
590
  code httpclient/http.rb /^ alias code/
595
591
  connect httpclient/session.rb /^ def connect/
596
- connect_retry httpclient/session.rb /^ attr_accessor :connect_retry # Maximum retry count. 0 for infinite./
592
+ connect_retry httpclient/session.rb /^ attr_accessor :connect_retry/
597
593
  connect_retry httpclient/session.rb /^ attr_accessor :connect_retry/
598
594
  connect_ssl_proxy httpclient/session.rb /^ def connect_ssl_proxy/
599
595
  connect_timeout httpclient/session.rb /^ attr_accessor :connect_timeout/
@@ -619,8 +615,8 @@ create_ssl_socket httpclient/session.rb /^ def create_ssl_socket/
619
615
  debug httpclient/session.rb /^ def debug/
620
616
  debug httpclient/session.rb /^ def debug/
621
617
  debug_dev httpclient.rb /^ def debug_dev/
622
- debug_dev httpclient/session.rb /^ attr_accessor :debug_dev # Device for dumping log for debugging/
623
- debug_dev httpclient/session.rb /^ attr_accessor :debug_dev # Device for dumping log for debugging/
618
+ debug_dev httpclient/session.rb /^ attr_accessor :debug_dev/
619
+ debug_dev httpclient/session.rb /^ attr_accessor :debug_dev/
624
620
  debug_dev= httpclient.rb /^ def debug_dev=/
625
621
  debug_dev= httpclient/session.rb /^ def debug_dev=/
626
622
  default_redirect_uri_callback httpclient.rb /^ def default_redirect_uri_callback/
@@ -628,7 +624,7 @@ default_verify_callback httpclient/ssl_config.rb /^ def default_verify_callba
628
624
  delete httpclient.rb /^ def delete/
629
625
  delete httpclient/http.rb /^ def delete/
630
626
  delete_async httpclient.rb /^ def delete_async/
631
- dest httpclient/session.rb /^ attr_reader :dest # Destination site/
627
+ dest httpclient/session.rb /^ attr_reader :dest/
632
628
  digest_auth httpclient/auth.rb /^ attr_reader :digest_auth/
633
629
  discard httpclient/cookie.rb /^ attr_writer :use, :secure, :discard, :domain_orig, :path_orig, :override/
634
630
  discard? httpclient/cookie.rb /^ def discard?/
@@ -656,7 +652,6 @@ eof? httpclient/session.rb /^ def eof?/
656
652
  eql? httpclient/session.rb /^ def eql?/
657
653
  escape httpclient/http.rb /^ def escape/
658
654
  escape_query httpclient/http.rb /^ def escape_query/
659
- ex httpclient/timeout.rb /^ attr_reader :thread, :time, :ex/
660
655
  expires httpclient/cookie.rb /^ attr_accessor :expires ## for Netscape Cookie/
661
656
  file? httpclient/http.rb /^ def file?/
662
657
  file_in_form_data? httpclient.rb /^ def file_in_form_data?/
@@ -672,7 +667,7 @@ flush httpclient/session.rb /^ def flush/
672
667
  flush httpclient/session.rb /^ def flush/
673
668
  follow_redirect httpclient.rb /^ def follow_redirect/
674
669
  follow_redirect_count httpclient.rb /^ attr_accessor :follow_redirect_count/
675
- from httpclient/session.rb /^ attr_accessor :from # Owner of this client./
670
+ from httpclient/session.rb /^ attr_accessor :from/
676
671
  get httpclient.rb /^ def get/
677
672
  get httpclient/auth.rb /^ def get/
678
673
  get httpclient/auth.rb /^ def get/
@@ -684,7 +679,7 @@ get_body httpclient/session.rb /^ def get_body/
684
679
  get_cached_session httpclient/session.rb /^ def get_cached_session/
685
680
  get_content httpclient.rb /^ def get_content/
686
681
  get_header httpclient/session.rb /^ def get_header/
687
- get_mime_type_func httpclient/http.rb /^ def get_mime_type_func/
682
+ get_mime_type_func httpclient/http.rb /^ alias get_mime_type_func/
688
683
  getenv httpclient.rb /^ def getenv/
689
684
  gets httpclient/session.rb /^ def gets/
690
685
  gets httpclient/session.rb /^ def gets/
@@ -694,11 +689,10 @@ hash_find_value httpclient/util.rb /^ def hash_find_value/
694
689
  head httpclient.rb /^ def head/
695
690
  head_async httpclient.rb /^ def head_async/
696
691
  head_match? httpclient/cookie.rb /^ def head_match?/
697
- header httpclient/http.rb /^ attr_reader :header/
698
- header= httpclient/http.rb /^ def header=/
699
- host httpclient/session.rb /^ attr_accessor :host/
700
- http_date httpclient/http.rb /^ def http_date/
692
+ header httpclient/http.rb /^ attr_accessor :header/
693
+ host httpclient/session.rb /^ attr_reader :host/
701
694
  http_version httpclient/http.rb /^ attr_accessor :http_version/
695
+ https? httpclient.rb /^ def https?/
702
696
  init_connect_request httpclient/http.rb /^ def init_connect_request/
703
697
  init_request httpclient/http.rb /^ def init_request/
704
698
  init_request httpclient/http.rb /^ def init_request/
@@ -709,9 +703,8 @@ internal_mime_type httpclient/http.rb /^ def internal_mime_type/
709
703
  join httpclient/connection.rb /^ def join/
710
704
  join_quotedstr httpclient/cookie.rb /^ def join_quotedstr/
711
705
  keep httpclient/session.rb /^ def keep/
712
- keep_alive_enabled? httpclient/http.rb /^ def keep_alive_enabled?/
706
+ keep_alive_enabled? httpclient/http.rb /^ def keep_alive_enabled?/
713
707
  keyword_argument httpclient/util.rb /^ def keyword_argument/
714
- load httpclient/http.rb /^ def load/
715
708
  load_cacerts httpclient/ssl_config.rb /^ def load_cacerts/
716
709
  load_cookies httpclient/cookie.rb /^ def load_cookies/
717
710
  load_environment httpclient.rb /^ def load_environment/
@@ -719,17 +712,20 @@ make_cookie_str httpclient/cookie.rb /^ def make_cookie_str/
719
712
  match httpclient/session.rb /^ def match/
720
713
  match? httpclient/cookie.rb /^ def match?/
721
714
  mime_type httpclient/http.rb /^ def mime_type/
715
+ mime_type_handler httpclient/http.rb /^ def mime_type_handler/
716
+ mime_type_handler= httpclient/http.rb /^ def mime_type_handler=/
722
717
  multiparam_query? httpclient/http.rb /^ def multiparam_query?/
723
718
  name httpclient/cookie.rb /^ attr_accessor :name, :value/
724
719
  negotiate_auth httpclient/auth.rb /^ attr_reader :negotiate_auth/
725
720
  negotiate_auth httpclient/auth.rb /^ attr_reader :negotiate_auth/
726
721
  netscape_rule httpclient/cookie.rb /^ attr_accessor :netscape_rule/
727
- new_connect_request httpclient/http.rb /^ def self.new_connect_request/
728
- new_request httpclient/http.rb /^ def self.new_request/
729
- new_response httpclient/http.rb /^ def self.new_response/
722
+ new_connect_request httpclient/http.rb /^ def new_connect_request/
723
+ new_request httpclient/http.rb /^ def new_request/
724
+ new_response httpclient/http.rb /^ def new_response/
730
725
  no_proxy httpclient.rb /^ def no_proxy/
731
726
  no_proxy= httpclient.rb /^ def no_proxy=/
732
727
  no_proxy? httpclient.rb /^ def no_proxy?/
728
+ normalize_cookie_value httpclient/cookie.rb /^ def normalize_cookie_value/
733
729
  ntlm_opt httpclient/auth.rb /^ attr_reader :ntlm_opt/
734
730
  open httpclient/session.rb /^ def open/
735
731
  options httpclient.rb /^ def options/
@@ -744,7 +740,7 @@ parse httpclient/cookie.rb /^ def parse/
744
740
  parse httpclient/cookie.rb /^ def parse/
745
741
  parse_authentication_header httpclient/auth.rb /^ def parse_authentication_header/
746
742
  parse_challenge_header httpclient/auth.rb /^ def parse_challenge_header/
747
- parse_challenge_param httpclient/util.rb /^ def parse_challenge_param/
743
+ parse_challenge_param httpclient/auth.rb /^ def parse_challenge_param/
748
744
  parse_header httpclient/session.rb /^ def parse_header/
749
745
  parse_keepalive_header httpclient/session.rb /^ def parse_keepalive_header/
750
746
  parts httpclient/http.rb /^ def parts/
@@ -755,7 +751,6 @@ peer_cert httpclient/http.rb /^ attr_accessor :peer_cert/
755
751
  peer_cert httpclient/session.rb /^ def peer_cert/
756
752
  pop httpclient/connection.rb /^ def pop/
757
753
  port httpclient/session.rb /^ attr_reader :port/
758
- port= httpclient/session.rb /^ def port=/
759
754
  post httpclient.rb /^ def post/
760
755
  post_async httpclient.rb /^ def post_async/
761
756
  post_connection_check httpclient/session.rb /^ def post_connection_check/
@@ -768,9 +763,9 @@ proppatch_async httpclient.rb /^ def proppatch_async/
768
763
  protect_keep_alive_disconnected httpclient.rb /^ def protect_keep_alive_disconnected/
769
764
  protocol_retry_count httpclient/session.rb /^ attr_accessor :protocol_retry_count/
770
765
  protocol_retry_count httpclient/session.rb /^ attr_accessor :protocol_retry_count/
771
- protocol_version httpclient/session.rb /^ attr_accessor :protocol_version # Requested protocol version/
766
+ protocol_version httpclient/session.rb /^ attr_accessor :protocol_version/
772
767
  proxy httpclient.rb /^ def proxy/
773
- proxy httpclient/session.rb /^ attr_accessor :proxy # Proxy site/
768
+ proxy httpclient/session.rb /^ attr_accessor :proxy/
774
769
  proxy= httpclient.rb /^ def proxy=/
775
770
  proxy= httpclient/session.rb /^ def proxy=/
776
771
  proxy_auth httpclient.rb /^ attr_reader :proxy_auth/
@@ -779,6 +774,7 @@ put httpclient.rb /^ def put/
779
774
  put_async httpclient.rb /^ def put_async/
780
775
  query httpclient/session.rb /^ def query/
781
776
  query httpclient/session.rb /^ def query/
777
+ raise httpclient/timeout.rb /^ def raise/
782
778
  read httpclient/session.rb /^ def read/
783
779
  read httpclient/session.rb /^ def read/
784
780
  read httpclient/session.rb /^ def read/
@@ -809,7 +805,7 @@ request_method httpclient/http.rb /^ attr_reader :request_method/
809
805
  request_query httpclient/http.rb /^ attr_accessor :request_query/
810
806
  request_uri httpclient/http.rb /^ attr_accessor :request_uri/
811
807
  request_via_proxy httpclient/http.rb /^ attr_accessor :request_via_proxy/
812
- requested_version httpclient/session.rb /^ attr_accessor :requested_version # Requested protocol version/
808
+ requested_version httpclient/session.rb /^ attr_accessor :requested_version/
813
809
  res httpclient.rb /^ attr_reader :res/
814
810
  reset httpclient.rb /^ def reset/
815
811
  reset httpclient/session.rb /^ def reset/
@@ -822,8 +818,6 @@ reset_challenge httpclient/auth.rb /^ def reset_challenge/
822
818
  reset_challenge httpclient/auth.rb /^ def reset_challenge/
823
819
  reset_challenge httpclient/auth.rb /^ def reset_challenge/
824
820
  reset_pos httpclient/http.rb /^ def reset_pos/
825
- response_status_code httpclient/http.rb /^ attr_reader :response_status_code/
826
- response_status_code= httpclient/http.rb /^ def response_status_code=/
827
821
  response_status_line httpclient/http.rb /^ def response_status_line/
828
822
  sample_verify_callback httpclient/ssl_config.rb /^ def sample_verify_callback/
829
823
  save_all_cookies httpclient/cookie.rb /^ def save_all_cookies/
@@ -855,16 +849,15 @@ set_crl httpclient/ssl_config.rb /^ def set_crl/
855
849
  set_flag httpclient/cookie.rb /^ def set_flag/
856
850
  set_header httpclient/http.rb /^ def set_header/
857
851
  set_header httpclient/session.rb /^ def set_header/
858
- set_mime_type_func httpclient/http.rb /^ def set_mime_type_func/
852
+ set_mime_type_func httpclient/http.rb /^ alias set_mime_type_func/
859
853
  set_proxy_auth httpclient.rb /^ def set_proxy_auth/
860
854
  set_request_header httpclient/http.rb /^ def set_request_header/
861
855
  set_response_header httpclient/http.rb /^ def set_response_header/
862
856
  set_trust_ca httpclient/ssl_config.rb /^ def set_trust_ca/
863
857
  size httpclient/http.rb /^ attr_reader :size/
864
858
  size httpclient/http.rb /^ attr_reader :size/
865
- socket_sync httpclient/session.rb /^ attr_accessor :socket_sync # Boolean value for Socket#sync/
866
- socket_sync httpclient/session.rb /^ attr_accessor :socket_sync # Boolean value for Socket#sync/
867
- src httpclient/session.rb /^ def src/
859
+ socket_sync httpclient/session.rb /^ attr_accessor :socket_sync/
860
+ socket_sync httpclient/session.rb /^ attr_accessor :socket_sync/
868
861
  ssl_config httpclient.rb /^ attr_reader :ssl_config/
869
862
  ssl_config httpclient/session.rb /^ attr_accessor :ssl_config/
870
863
  ssl_config httpclient/session.rb /^ attr_accessor :ssl_config/
@@ -874,7 +867,9 @@ sspi_negotiate_auth httpclient/auth.rb /^ attr_reader :sspi_negotiate_auth/
874
867
  start_timer_thread httpclient/timeout.rb /^ def start_timer_thread/
875
868
  status httpclient/http.rb /^ def status/
876
869
  status= httpclient/http.rb /^ def status=/
870
+ status_code httpclient/http.rb /^ attr_reader :status_code/
877
871
  status_code httpclient/http.rb /^ alias status_code/
872
+ status_code= httpclient/http.rb /^ def status_code=/
878
873
  strict_redirect_uri_callback httpclient.rb /^ def strict_redirect_uri_callback/
879
874
  successful? httpclient/http.rb /^ def self.successful?/
880
875
  sync httpclient/session.rb /^ def sync/
@@ -885,11 +880,12 @@ tail_match? httpclient/cookie.rb /^ def tail_match?/
885
880
  test_loopback_http_response httpclient/session.rb /^ attr_accessor :test_loopback_http_response/
886
881
  test_loopback_http_response httpclient/session.rb /^ attr_reader :test_loopback_http_response/
887
882
  test_loopback_response httpclient.rb /^ attr_reader :test_loopback_response/
888
- thread httpclient/timeout.rb /^ attr_reader :thread, :time, :ex/
889
- time httpclient/timeout.rb /^ attr_reader :thread, :time, :ex/
883
+ thread httpclient/timeout.rb /^ attr_reader :thread, :time/
884
+ time httpclient/timeout.rb /^ attr_reader :thread, :time/
890
885
  timeout httpclient/ssl_config.rb /^ attr_reader :timeout/
891
886
  timeout httpclient/timeout.rb /^ def timeout/
892
887
  timeout= httpclient/ssl_config.rb /^ def timeout=/
888
+ timeout_scheduler httpclient/timeout.rb /^ def timeout_scheduler/
893
889
  to_s httpclient/session.rb /^ def to_s/
894
890
  total_dot_num httpclient/cookie.rb /^ def total_dot_num/
895
891
  trace httpclient.rb /^ def trace/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httpclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3.1
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - NAKAMURA, Hiroshi
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-08 00:00:00 +09:00
12
+ date: 2009-02-13 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15