diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-26 22:22:37 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-26 22:22:37 +0000 |
commit | ca9654114920982b7603e28d6e8d808df77f1795 (patch) | |
tree | 7ab1a8cf2de8781c681571480b228ec843e8dd75 /sample/webrick | |
parent | 18e342e80dfe96b865e3b80a27687ccf4b09d781 (diff) | |
download | ruby-ca9654114920982b7603e28d6e8d808df77f1795.tar.gz |
* ext/pathname/lib/pathname.rb: Fix typos and grammar mistakes. Patch
by Luke Gruber. [#5203]
* ext/pty/lib/expect.rb: ditto
* lib/mathn.rb: ditto
* lib/net/http.rb: ditto
* lib/open-uri.rb: ditto
* lib/ostruct.rb: ditto
* lib/tempfile.rb: ditto
* lib/thread.rb: ditto
* lib/weakref.rb: ditto
* sample/webrick/httpproxy.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/webrick')
-rw-r--r-- | sample/webrick/httpproxy.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sample/webrick/httpproxy.rb b/sample/webrick/httpproxy.rb index bca0cc4626..c84457ece7 100644 --- a/sample/webrick/httpproxy.rb +++ b/sample/webrick/httpproxy.rb @@ -1,10 +1,9 @@ require "webrick" require "webrick/httpproxy" -# :ProxyContentHandler will be invoked before sending -# response to User-Agenge. You can inspect the pair of -# request and response messages (or can edit the response -# message if necessary). +# The :ProxyContentHandler proc will be invoked before sending a response to +# the User-Agent. You can inspect the pair of request and response messages +# (or edit the response message if necessary). pch = Proc.new{|req, res| p [ req.request_line, res.status_line ] |