diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-26 23:54:49 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-26 23:54:49 +0000 |
commit | aed384f343e14e046e09b20fa082037da0ef06a0 (patch) | |
tree | 7ded56c9d9a92313cdd4ad451f771d94cfbb5695 /sample | |
parent | 74a8074e4cfde002f6cb9d3c43fe053b98baccfa (diff) |
* backport r33086 from trunk.
* 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/branches/ruby_1_9_3@33089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-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 ] |