1045件ヒット
[1-100件を表示]
(0.096秒)
ライブラリ
- ビルトイン (15)
-
net
/ http (228) -
net
/ imap (166) -
net
/ smtp (12) - openssl (60)
-
rubygems
/ remote _ fetcher (12) -
rubygems
/ server (72) -
webrick
/ httpauth / basicauth (24) -
webrick
/ httpauth / digestauth (24) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (156) -
webrick
/ httpserver (24) -
webrick
/ httpservlet / abstract (84) -
webrick
/ httpservlet / cgihandler (24) -
webrick
/ httpservlet / erbhandler (24) -
webrick
/ httpservlet / filehandler (84) -
webrick
/ httpservlet / prochandler (24)
クラス
-
Gem
:: RemoteFetcher (12) -
Gem
:: Server (72) -
Net
:: HTTP (180) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (12) -
Net
:: IMAP (106) -
Net
:: IMAP :: ContinuationRequest (12) -
Net
:: IMAP :: ResponseError (12) -
Net
:: IMAP :: UntaggedResponse (36) -
Net
:: SMTP (12) - Object (15)
-
OpenSSL
:: OCSP :: BasicResponse (36) -
OpenSSL
:: OCSP :: Response (24) -
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPAuth :: DigestAuth (24) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (156) -
WEBrick
:: HTTPServer (24) -
WEBrick
:: HTTPServlet :: AbstractServlet (84) -
WEBrick
:: HTTPServlet :: CGIHandler (24) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (36) -
WEBrick
:: HTTPServlet :: ERBHandler (24) -
WEBrick
:: HTTPServlet :: FileHandler (48) -
WEBrick
:: HTTPServlet :: ProcHandler (24)
モジュール
-
Net
:: HTTPHeader (12)
キーワード
- Marshal (12)
-
add
_ status (12) - authenticate (36)
-
body
_ exist? (12) - challenge (24)
- chunked= (12)
- chunked? (12)
- continue (12)
-
copy
_ nonce (12) - data (24)
-
do
_ DELETE (12) -
do
_ GET (72) -
do
_ HEAD (12) -
do
_ OPTIONS (24) -
do
_ POST (60) -
do
_ PUT (12) - greeting (12)
-
latest
_ specs (12) - login (12)
- logout (12)
-
make
_ partial _ content (12) -
mount
_ proc (24) - name (12)
-
not
_ modified? (12) - put (12)
- put2 (24)
- quick (12)
- quit (12)
-
raw
_ data (12) - request (36)
-
request
_ get (24) -
request
_ head (24) -
request
_ http _ version (12) -
request
_ http _ version= (12) -
request
_ method (12) -
request
_ method= (12) -
request
_ post (24) -
request
_ put (24) -
request
_ uri (12) -
request
_ uri= (12) -
response
_ body _ permitted? (12) - root (12)
-
send
_ request (12) - service (24)
-
set
_ error (12) -
set
_ redirect (12) - setquota (12)
- specs (12)
- status (36)
- status= (12)
-
status
_ line (12) -
status
_ string (12) -
sub
_ type (12) - subscribe (12)
- then (7)
-
uid
_ copy (12) -
uid
_ move (10) - unlock (12)
- unsubscribe (12)
- value (12)
- yaml (12)
-
yield
_ self (8)
検索結果
先頭5件
- Net
:: IMAP :: ResponseError # response -> Net :: IMAP :: TaggedResponse | Net :: IMAP :: UntaggedResponse - WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool - WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true - OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self - WEBrick
:: HTTPResponse # status=(status)
-
Net
:: IMAP :: ResponseError # response -> Net :: IMAP :: TaggedResponse | Net :: IMAP :: UntaggedResponse (21402.0) -
エラーとなったレスポンスを表すオブジェクトを返します。
エラーとなったレスポンスを表すオブジェクトを返します。 -
WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool (12208.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。... -
WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true (12208.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。... -
OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self (9201.0) -
証明書の状態の問い合わせの結果をオブジェクトに追加します。
...asicResponse#status を見てください。
@param cid 問い合わせの(OpenSSL::OCSP::CertificateId オブジェクト)
@param status ステータスコード(整数)
@param reason 失効理由コード(整数)
@param revtime 失効時刻(Time オブジェクトもしくは nil)
@param thisupd......最終更新時刻(Time オブジェクト)
@param nextupd 次回更新時刻(Time オブジェクト)
@param exts 拡張領域(OpenSSL::X509::Extension オブジェクトの配列)... -
WEBrick
:: HTTPResponse # status=(status) (9201.0) -
レスポンスのステータスコードを整数で指定します。 reason_phrase も適切なものに設定されます。
...数で指定します。
reason_phrase も適切なものに設定されます。
@param status ステータスコードを整数で指定します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.reason_phrase #=> "Not Found"... -
OpenSSL
:: OCSP :: Response # status -> Integer (9143.0) -
ステータスコードを整数で返します。
...::RESPONSE_STATUS_SUCCESSFUL
* OpenSSL::OCSP::RESPONSE_STATUS_MALFORMEDREQUEST
* OpenSSL::OCSP::RESPONSE_STATUS_INTERNALERROR
* OpenSSL::OCSP::RESPONSE_STATUS_TRYLATER
* OpenSSL::OCSP::RESPONSE_STATUS_SIGREQUIRED
* OpenSSL::OCSP::RESPONSE_STATUS_UNAUTHORIZED
@see OpenSSL::OCSP::Response#s......tatus_string... -
Net
:: HTTPResponse # value -> nil (9137.0) -
レスポンスが 2xx(成功)でなかった場合に、対応する 例外を発生させます。
...[ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.value # => nil
//}
//emlist[例 レスポンスが 2xx以外][ruby]{
require 'net/http'
uri = "http://www.example.com/invalid.html"
response = Net::HTTP.get_response(URI.......parse(uri))
begin
response.value
rescue => e
e.class # => Net::HTTPServerException
e.message # => 404 "Not Found"
end
//}... -
WEBrick
:: HTTPRequest # continue (9117.0) -
@todo 1.9.3 Generate HTTP/1.1 100 continue response if the client expects it, otherwise does nothing.
...@todo 1.9.3
Generate HTTP/1.1 100 continue response if the client expects it,
otherwise does nothing.... -
Net
:: HTTPGenericRequest # response _ body _ permitted? -> bool (9114.0) -
サーバからのレスポンスにエンティティボディを含むことが許されている HTTP メソッド (GET, POST など)の場合真を返します。
...合真を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
post = Net::HTTP::Post.new(uri.request_uri)
post.response_body_permitted? # => true
head = Net::HTTP::Head.new(uri.request_uri)
head.response_body_permitted? # => false
//}...