60件ヒット
[1-60件を表示]
(0.099秒)
別のキーワード
ライブラリ
-
net
/ http (12) -
webrick
/ httpauth (12) -
webrick
/ httpauth / authenticator (12) -
webrick
/ httpproxy (12) -
webrick
/ httpstatus (12)
クラス
モジュール
キーワード
- AuthException (12)
- HTTPProxyAuthenticationRequired (12)
- new (12)
-
proxy
_ basic _ auth (12)
検索結果
先頭5件
- WEBrick
:: HTTPStatus :: ProxyAuthenticationRequired - Net
:: HTTPProxyAuthenticationRequired - WEBrick
:: HTTPAuth :: ProxyAuthenticator :: AuthException -> Class - WEBrick
:: HTTPAuth . # proxy _ basic _ auth(req , res , realm) {|user , pass| . . . } -> nil - WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer
-
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
:: HTTPAuth . # proxy _ basic _ auth(req , res , realm) {|user , pass| . . . } -> nil (6106.0) -
プロクシの Basic 認証行うためのメソッドです。
...ストを表す WEBrick::HTTPRequest オブジェクトを指定します。
@param res WEBrick::HTTPResponse オブジェクトを指定します。
@param realm 認証のレルムを文字列で指定します。
@raise WEBrick::HTTPStatus::ProxyAuthenticationRequired 認証に失敗した場... -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (3106.0) -
プロクシオブジェクトを生成して返します。
...は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが有効です。
: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest オブジェ......TTPAuth::ProxyBasicAuth か
WEBrick::HTTPAuth::ProxyDigestAuth を使用します。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']
res['Proxy-Authenticate'] = 'Basic realm="WEBrick Proxy"'
raise WEBrick::HT......TPStatus::ProxyAuthenticationRequired
else
# 略
end
}
s = WEBrick::HTTPProxyServer.new(ProxyAuthProc: auth_proc, Port: 8080)
//}
: :ProxyContentHandler
接続先の HTTP サーバからの内容を処理する Proc オブジェクトを指定します。
レスポンスの内容を...