264件ヒット
[201-264件を表示]
(0.131秒)
ライブラリ
- ビルトイン (48)
-
rake
/ rdoctask (84) -
rexml
/ document (84) -
webrick
/ httpresponse (48)
クラス
-
REXML
:: DocType (84) -
Rake
:: RDocTask (84) - String (48)
-
WEBrick
:: HTTPResponse (48)
キーワード
- [] (12)
-
attribute
_ of (12) -
content
_ length (12) -
content
_ length= (12) - entities (12)
- entity (12)
-
external
_ id (12) - hex (12)
- main (12)
- name (24)
-
option
_ string (12) - public (12)
- quote (12)
-
rdoc
_ dir (12) - system (12)
- template (12)
- title (12)
-
to
_ f (12) -
to
_ i (12) -
to
_ s (12)
検索結果
先頭5件
-
Rake
:: RDocTask # template -> String (3102.0) -
使用するテンプレートを返します。 デフォルトは RDoc のデフォルトです。
使用するテンプレートを返します。
デフォルトは RDoc のデフォルトです。 -
Rake
:: RDocTask # title -> String (3102.0) -
RDoc のタイトルを返します。 デフォルト値はありません。
RDoc のタイトルを返します。
デフォルト値はありません。 -
WEBrick
:: HTTPResponse # [](field) -> String (108.0) -
レスポンスのヘッダの該当する内容を文字列で返します。
...レスポンスのヘッダの該当する内容を文字列で返します。
@param field ヘッダ名を文字列で指定します。大文字と小文字を区別しません。
p res['date'] #=> "Sat, 27 Oct 2007 08:53:03 GMT"... -
WEBrick
:: HTTPResponse # to _ s -> String (108.0) -
実際にクライアントに送られるデータを文字列として返します。
...列として返します。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 08:58:49 GMT
Server:
Content-Length: 4
hoge... -
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (13.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 12:04:32 GMT
Server:
Content-Length: 2
ho... -
WEBrick
:: HTTPResponse # content _ length=(len) (13.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 12:04:32 GMT
Server:
Content-Length: 2
ho...