1464件ヒット
[1-100件を表示]
(0.089秒)
ライブラリ
-
net
/ http (708) -
rubygems
/ remote _ fetcher (12) -
webrick
/ httpauth / basicauth (24) -
webrick
/ httpauth / digestauth (24) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (420) -
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) -
Net
:: HTTP (468) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (144) -
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPAuth :: DigestAuth (24) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (420) -
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
:: HTTPExceptions (12) -
Net
:: HTTPHeader (60)
キーワード
- [] (12)
- []= (12)
- authenticate (24)
- body (24)
- body= (12)
-
body
_ exist? (12) - challenge (24)
- chunked= (12)
- chunked? (12)
-
close
_ on _ empty _ response (12) -
close
_ on _ empty _ response= (12) - code (12)
- config (12)
-
content
_ length (12) -
content
_ length= (12) -
content
_ type (12) -
content
_ type= (12) - continue (12)
- copy (12)
- delete (12)
-
do
_ DELETE (12) -
do
_ GET (72) -
do
_ HEAD (12) -
do
_ OPTIONS (24) -
do
_ POST (60) -
do
_ PUT (12) - each (12)
- entity (12)
- filename (12)
- filename= (12)
- get (24)
- get2 (24)
-
get
_ fields (12) - head (12)
- head2 (24)
- header (24)
-
http
_ version (24) -
keep
_ alive (12) -
keep
_ alive= (12) -
keep
_ alive? (12) - key? (12)
- lock (12)
-
main
_ type (12) -
make
_ partial _ content (12) - mkcol (12)
-
mount
_ proc (24) - move (12)
- msg (12)
-
not
_ modified? (12) - patch (24)
- post (24)
- post2 (24)
- propfind (12)
- proppatch (12)
- put (12)
- put2 (24)
-
read
_ body (24) -
reader
_ header (12) -
reason
_ phrase (12) -
reason
_ phrase= (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) -
send
_ request (12) -
sent
_ size (12) - service (24)
-
set
_ error (12) -
set
_ redirect (12) - status (12)
- status= (12)
-
status
_ line (12) -
sub
_ type (12) -
to
_ s (12) - trace (12)
-
type
_ params (12) - unlock (12)
- value (12)
検索結果
先頭5件
-
Net
:: HTTPExceptions # response -> Net :: HTTPResponse (21344.0) -
例外の原因となったレスポンスオブジェクトを返します。
...レスポンスオブジェクトを返します。
//emlist[例][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.response # => #<Net::HTTPNotFound 404 Not Found readbody=true>
end
//}... -
Net
:: HTTPResponse # response -> self (21102.0) -
互換性を保つためだけに導入されたメソッドです。 使わないでください。
互換性を保つためだけに導入されたメソッドです。
使わないでください。
自分自身を返します。 -
WEBrick
:: HTTPResponse # request _ http _ version -> WEBrick :: HTTPVersion (12234.0) -
リクエストの HTTP バージョンを返します。 デフォルトでは自身の WEBrick::HTTPResponse#http_version が使われます。
...リクエストの HTTP バージョンを返します。
デフォルトでは自身の WEBrick::HTTPResponse#http_version が使われます。... -
WEBrick
:: HTTPResponse # http _ version -> WEBrick :: HTTPVersion (12230.0) -
レスポンスの HTTP のバージョンを表す WEBrick::HTTPVersion オブジェクトを返します。
...ンスの HTTP のバージョンを表す WEBrick::HTTPVersion オブジェクトを返します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
p res.http_version.class #=> WEBrick::HTTPVersion
p res.http_version.to_... -
Net
:: HTTPResponse # http _ version -> String (12160.0) -
サーバがサポートしている HTTP のバージョンを文字列で返します。
...サーバがサポートしている HTTP のバージョンを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.http_version # => "1.1"
//}... -
WEBrick
:: HTTPResponse # request _ http _ version=(ver) (12124.0) -
リクエストの HTTP バージョンをセットします。
...リクエストの HTTP バージョンをセットします。
@param ver リクエストの HTTP バージョンを WEBrick::HTTPVersion オブジェクトで指定します。... -
Net
:: HTTPGenericRequest # response _ body _ permitted? -> bool (9154.0) -
サーバからのレスポンスにエンティティボディを含むことが許されている HTTP メソッド (GET, POST など)の場合真を返します。
...されている
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.requ... -
Net
:: HTTP # close _ on _ empty _ response -> bool (9114.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを返します。
...レスポンスがボディを持っていない場合にコネクションを
閉じるかどうかを返します。
デフォルトでは偽(閉じない)です。
@see Net::HTTP#close_on_empty_response=... -
Net
:: HTTP # close _ on _ empty _ response=(bool) (9114.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを設定します。
...ンスがボディを持っていない場合にコネクションを
閉じるかどうかを設定します。
@param bool レスポンスがボディを持っていない場合にコネクションを
閉じるかどうか指定します。
@see Net::HTTP#close_on_empty_response...