Commit Graph

16 Commits

Author SHA1 Message Date
aamine ee38413bf0 {protocol,smtp,pop,http}.rb 1.1.15
o  http.rb: (keep_alive?)  use both user header and response
o  http.rb: (connecting)  returns response
o  http.rb: (connecting)  proc u_header and yield it
o  http.rb: (connecting)  call user block in conecting


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-04-22 07:29:53 +00:00
aamine 4f0aeb3cf7 {protocol,smtp,pop}.rb version 1.1.14
o  http.rb:  HTTP#head2
o  http.rb:  HTTPResponse#value
o  http.rb:  get2/post2 returns response header
o  http.rb:  *2 does not raise exceptions
o  smtp.rb:  try esmtp only first time
o  protocol.rb:  remove error_occured
o  protocol.rb:  Command#error! does not take argument


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-04-18 09:39:02 +00:00
aamine 6d77e51b17 o pop.rb: accept illegal timestamp (reported by WATANABE Hirofumi)
o http.rb:  when body was chunked, does not set 'Content-Length'


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-04-14 10:41:35 +00:00
aamine be72d9a5da protocol.rb smtp.rb pop.rb http.rb version 1.1.12
o protocol.rb:  update Net::Protocol::Proxy#connect
o protocol.rb:  ReplyCode is not a class
o http.rb:  header value does not include header name
o http.rb:  header is not a Hash, but HTTPResponse


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-31 13:02:40 +00:00
aamine 9fd5174ef3 v1.1.11
o  all:  use "critical" to avoid duplicated command dispatch
o  http.rb:  change get2, post2 usage (HTTPWriter)
o  http.rb:  entity reading algorithm is better
o  http.rb:  more reply code (4xx, 5xx)
o  protocol.rb:  arguments of "connect" can be omitted
o  protocol.rb:  "quit" is not template method (now do_quit is removed)
o  protocol.rb:  ReplyCode.error_type was not work: using module_eval


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-27 15:52:27 +00:00
aamine 0dcf7498b1 o http.rb: return value of 'head' was wrong
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-26 16:29:02 +00:00
aamine d8d148d816 o protocol.rb: version 1.1.9
o  smtp.rb:  arguments discription of do_ready was wrongly void


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-26 08:48:15 +00:00
aamine 5728ed4f51 net Version 1.1.7
o  http.rb:  HTTP#connecting() returns header again


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-08 10:40:11 +00:00
aamine b014cc337e Version 1.1.6
o  all:  use 'attr_reader/writer' instead of 'attr'
o  http.rb:  get/head allow implicit 'start'
o  http.rb:  change connection state algorithm
o  http.rb:  process user header before write
o  protocol.rb:  refine start/finish
o  protocol.rb:  Command#last_reply
o  protocol.rb:  ReplyCode.error!


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-05 10:25:53 +00:00
aamine 3fef8bb12c o session.rb -> protocol.rb
o  write, write_pendstr takes block
o  smtp.ready
o  popmail.pop takes block


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-21 15:25:37 +00:00
aamine 005f125829 Version 1.1.4
o  (HTTP) allow no content-length data


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-01-21 12:52:24 +00:00
aamine deee7cb19f o remove RD white lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-01-05 07:55:36 +00:00
aamine a1d1b15167 Net version 1.1.3
o  http.rb rd
o  Session -> Protocol


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-12-29 11:14:04 +00:00
aamine 0c00050f84 Version 1.1.2
o  proxy, version 1
o  use fullpath shvar


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-12-22 13:49:13 +00:00
aamine 47f58037b6 Version 1.1.1
o  HTTP chunk data


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-12-20 20:48:49 +00:00
aamine 6f4751f5f6 Version 1.1.0
o  http.rb
o  support class swap
o  Net.quote


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-12-17 15:00:13 +00:00