55件ヒット
[1-55件を表示]
(0.124秒)
別のキーワード
ライブラリ
-
net
/ http (11) -
webrick
/ httpauth (11) -
webrick
/ httpauth / authenticator (11) -
webrick
/ httpproxy (11) -
webrick
/ httpstatus (11)
クラス
モジュール
キーワード
- AuthException (11)
- HTTPProxyAuthenticationRequired (11)
- new (11)
-
proxy
_ basic _ auth (11)
検索結果
先頭5件
- WEBrick
:: HTTPStatus :: ProxyAuthenticationRequired - Net
:: HTTPProxyAuthenticationRequired - WEBrick
:: HTTPAuth :: ProxyAuthenticator :: AuthException -> Class - WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer - WEBrick
:: HTTPAuth . # proxy _ basic _ auth(req , res , realm) {|user , pass| . . . } -> nil
-
WEBrick
:: HTTPStatus :: ProxyAuthenticationRequired (24000.0) -
HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。
...HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。... -
Net
:: HTTPProxyAuthenticationRequired (12000.0) -
HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
...HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
詳しくは 7235 Section 3.2 を見てください。... -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: AuthException -> Class (6116.0) -
WEBrick::HTTPStatus::ProxyAuthenticationRequired です。
...WEBrick::HTTPStatus::ProxyAuthenticationRequired です。... -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (6106.0) -
プロクシオブジェクトを生成して返します。
...プロクシオブジェクトを生成して返します。
@param config 設定を保存したハッシュを指定します。
設定として有効なハッシュのキーとその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが......proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest オブジェクトを引数として
proc.call(req, res) のように呼ばれます。
認証に失敗した場合 proc は適切な例外を発生させなければいけません。nil を指定した場合すべて......res|
unless c = req['proxy-authorization']
res['Proxy-Authenticate'] = 'Basic realm="WEBrick Proxy"'
raise WEBrick::HTTPStatus::ProxyAuthenticationRequired
else
# 略
end
}
s = WEBrick::HTTPProxyServer.new(ProxyAuthProc: auth_proc, Port: 8080)
//}
: :ProxyContentHandler... -
WEBrick
:: HTTPAuth . # proxy _ basic _ auth(req , res , realm) {|user , pass| . . . } -> nil (106.0) -
プロクシの Basic 認証行うためのメソッドです。
...::HTTPRequest オブジェクトを指定します。
@param res WEBrick::HTTPResponse オブジェクトを指定します。
@param realm 認証のレルムを文字列で指定します。
@raise WEBrick::HTTPStatus::ProxyAuthenticationRequired 認証に失敗した場合に発生します。...