るりまサーチ

最速Rubyリファレンスマニュアル検索!
55件ヒット [1-55件を表示] (0.030秒)
トップページ > クエリ:http[x] > クエリ:ProxyAuthenticationRequired[x]

別のキーワード

  1. net/http get
  2. http start
  3. http get
  4. net/http start
  5. net/http delete

検索結果

WEBrick::HTTPStatus::ProxyAuthenticationRequired (21016.0)

HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。

...HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。...

Net::HTTPProxyAuthenticationRequired (12016.0)

HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。

...HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。

詳しくは 7235 Section 3.2 を見てください。...

WEBrick::HTTPProxyServer.new(config, default = WEBrick::Config::HTTP) -> WEBrick::HTTPProxyServer (3243.0)

プロクシオブジェクトを生成して返します。

...値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが有効です。

: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest オブジ...
...続を
受け付けます。デフォルトは nil です。通常は WEBrick::HTTPAuth::ProxyBasicAuth か
WEBrick::HTTPAuth::ProxyDigestAuth を使用します。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']...
...'Basic realm="WEBrick Proxy"'
raise WEBrick::HTTPStatus::ProxyAuthenticationRequired
else
# 略
end
}
s = WEBrick::HTTPProxyServer.new(ProxyAuthProc: auth_proc, Port: 8080)
//}
: :ProxyContentHandler
接続先の HTTP サーバからの内容を処理する Proc オブジェク...

WEBrick::HTTPAuth::ProxyAuthenticator::AuthException -> Class (3016.0)

WEBrick::HTTPStatus::ProxyAuthenticationRequired です。

...WEBrick::HTTPStatus::ProxyAuthenticationRequired です。...

WEBrick::HTTPAuth.#proxy_basic_auth(req, res, realm) {|user, pass| ... } -> nil (3006.0)

プロクシの Basic 認証行うためのメソッドです。

...ストを表す WEBrick::HTTPRequest オブジェクトを指定します。

@param res WEBrick::HTTPResponse オブジェクトを指定します。

@param realm 認証のレルムを文字列で指定します。

@raise WEBrick::HTTPStatus::ProxyAuthenticationRequired 認証に失敗した場...

絞り込み条件を変える