- Inheritance
-
< WEBrick::HTTPServer
< ::WEBrick::GenericServer
Constants
Name |
|
Description |
HopByHop |
= %w( connection keep-alive proxy-authenticate upgrade proxy-authorization te trailers transfer-encoding ) |
Some header fields shuold not be transfered.
|
ShouldNotTransfer |
= %w( set-cookie proxy-connection ) |
|
Methods
Class
Visibility |
Signature |
public |
new (config) |
Instance
Class Method Detail
new(config)
Instance Method Detail
choose_header(src, dst)
do_OPTIONS(req, res)
proxy_auth(req, res)
proxy_connect(req, res)
proxy_service(req, res)
proxy_uri(req, res)
service(req, res)
set_cookie(src, dst)
Net::HTTP is stupid about the multiple
header fields. Here is workaround:
set_via(h)
split_field(f)