summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:19:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:19:47 +0000
commit92f0be2037b5f51861e8b7fdf763a343bb564c10 (patch)
treed02d61890bba782751e4852a56fc43577201742d /lib/net/http.rb
parente5eb4590894ced3bb4c676538e1b52af9c0daf11 (diff)
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb, lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb, lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 8280c6a039..7996b5c1d6 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -389,12 +389,12 @@ module Net # :nodoc:
attr_reader :port
# Seconds to wait until connection is opened.
- # If the HTTP object cannot open a conection in this many seconds,
+ # If the HTTP object cannot open a connection in this many seconds,
# it raises a TimeoutError exception.
attr_accessor :open_timeout
# Seconds to wait until reading one block (by one read(2) call).
- # If the HTTP object cannot open a conection in this many seconds,
+ # If the HTTP object cannot open a connection in this many seconds,
# it raises a TimeoutError exception.
attr_reader :read_timeout
@@ -693,7 +693,7 @@ module Net # :nodoc:
#
# In version 1.1 (ruby 1.6), this method returns a pair of objects, a
# Net::HTTPResponse object and an entity body string.
- # In version 1.2 (ruby 1.8), this method returns a Net::HTTPReponse object.
+ # In version 1.2 (ruby 1.8), this method returns a Net::HTTPResponse object.
#
# If called with a block, yields each fragment of the
# entity body in turn as a string as it are read from
@@ -1600,7 +1600,7 @@ e @header.each_key(&block)
# xxx HTTPUnknownResponse
#
class HTTPResponse
- # true if the reponse has body.
+ # true if the response has body.
def HTTPResponse.body_permitted?
self::HAS_BODY
end