Skip to content

Commit

Permalink
* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
Browse files Browse the repository at this point in the history
  <evanfarrar at gmail.com> in [ruby-doc:1382] applied.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Jun 4, 2008
1 parent 561c4d7 commit bf01ea4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/webrick/httpproxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def do_OPTIONS(req, res)

private

# Some header fields shuold not be transfered.
# Some header fields should not be transferred.
HopByHop = %w( connection keep-alive proxy-authenticate upgrade
proxy-authorization te trailers transfer-encoding )
ShouldNotTransfer = %w( set-cookie proxy-connection )
Expand Down Expand Up @@ -272,7 +272,7 @@ def perform_proxy_request(req, res)
response = yield(http, path, header)
end

# Persistent connction requirements are mysterious for me.
# Persistent connection requirements are mysterious for me.
# So I will close the connection in every response.
res['proxy-connection'] = "close"
res['connection'] = "close"
Expand Down
2 changes: 1 addition & 1 deletion lib/webrick/httpresponse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def setup_header()
end
end

# Determin the message length (RFC2616 -- 4.4 Message Length)
# Determine the message length (RFC2616 -- 4.4 Message Length)
if @status == 304 || @status == 204 || HTTPStatus::info?(@status)
@header.delete('content-length')
@body = ""
Expand Down

0 comments on commit bf01ea4

Please sign in to comment.