aboutsummaryrefslogtreecommitdiffstats
path: root/lib/webrick.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-02 23:17:24 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-02 23:17:24 +0000
commit42ffb2ed151814c2f53f0316b8bee2f4ab6966b8 (patch)
tree6af93ac6ad811dc2875dfc9e5a5e97a7510e3edd /lib/webrick.rb
parent30f0e97ef08e1518069c36b861d9d6a6ea4035e3 (diff)
downloadruby-42ffb2ed151814c2f53f0316b8bee2f4ab6966b8.tar.gz
* lib/webrick.rb: Moved proxy rewriting to WEBrick::HTTPProxy.
* lib/webrick/httpproxy.rb: Add examples of creating a proxy server and response rewriting using HTTPProxy. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick.rb')
-rw-r--r--lib/webrick.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/webrick.rb b/lib/webrick.rb
index 842bda21ef..f295e6e7aa 100644
--- a/lib/webrick.rb
+++ b/lib/webrick.rb
@@ -129,9 +129,8 @@
#
# trap 'INT' do proxy.shutdown end
#
-# Proxies may modifier the content of the response through the
-# +:ProxyContentHandler+ callback which will be invoked with the request and
-# respone after the remote content has been fetched.
+# See WEBrick::HTTPProxy for further details including modifying proxied
+# responses.
#
# == Basic and Digest authentication
#