2537件ヒット
[2501-2537件を表示]
(0.047秒)
ライブラリ
- ビルトイン (238)
-
cgi
/ core (12) -
cgi
/ util (12) - csv (84)
- date (904)
- dbm (12)
- digest (12)
- fileutils (36)
- gdbm (12)
-
json
/ add / date (24) -
json
/ add / date _ time (24) - logger (57)
-
net
/ imap (60) - observer (12)
- openssl (60)
- psych (19)
- rss (576)
-
rubygems
/ config _ file (12) -
rubygems
/ source _ index (12) -
rubygems
/ specification (24) -
rubygems
/ user _ interaction (36) - sdbm (12)
- time (144)
-
webrick
/ httpresponse (60) -
yaml
/ dbm (12)
クラス
- Array (12)
- CGI (24)
- CSV (72)
- DBM (12)
- Date (662)
- DateTime (290)
-
Digest
:: Base (12) - Enumerator (6)
- Exception (24)
- GDBM (12)
-
Gem
:: ConfigFile (12) -
Gem
:: SourceIndex (12) -
Gem
:: Specification (24) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - Hash (24)
- Logger (33)
-
Logger
:: Formatter (24) - Module (12)
-
Net
:: IMAP (60) -
OpenSSL
:: Cipher (12) -
OpenSSL
:: Digest (12) -
OpenSSL
:: HMAC (12) -
OpenSSL
:: X509 :: CRL (24) -
RSS
:: ImageFaviconModel :: ImageFavicon (24) -
RSS
:: ImageItemModel :: ImageItem (24) -
RSS
:: Maker :: ChannelBase (72) -
RSS
:: Maker :: ItemsBase (12) -
RSS
:: Maker :: ItemsBase :: ItemBase (48) -
RSS
:: Parser (24) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Channel :: ImageFavicon (24) -
RSS
:: RDF :: Image (24) -
RSS
:: RDF :: Item (24) -
RSS
:: RDF :: Textinput (24) -
RSS
:: Rss :: Channel (72) -
RSS
:: Rss :: Channel :: Item (48) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) - Random (36)
- Range (52)
- SDBM (12)
- Time (156)
-
WEBrick
:: HTTPResponse (60) -
YAML
:: DBM (12)
モジュール
- DublinCoreModel (36)
- FileUtils (36)
- Kernel (48)
- Observable (12)
- Psych (19)
-
RSS
:: SyndicationModel (72)
オブジェクト
- ENV (24)
キーワード
- + (12)
- - (12)
- << (12)
- <=> (12)
- == (12)
- === (19)
- >> (12)
- ENGLAND (12)
-
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - [] (12)
-
_ httpdate (12) -
_ iso8601 (12) -
_ jisx0301 (12) -
_ parse (12) -
_ rfc2822 (12) -
_ rfc3339 (12) -
_ rfc822 (12) -
_ strptime (24) -
_ xmlschema (12) -
add
_ observer (12) - append (12)
- autoload? (12)
-
backtrace
_ locations (12) - body= (12)
- chunked= (12)
- civil (24)
- commercial (24)
-
content
_ length (12) -
content
_ length= (12) - convert (36)
- converters (12)
- copy (12)
- cover? (19)
- cp (12)
- date= (156)
-
datetime
_ format (24) -
datetime
_ format= (24) -
dc
_ date (12) -
dc
_ date= (12) -
dc
_ dates (12) -
deconstruct
_ keys (4) -
do
_ sort= (12) -
do
_ validate (12) -
do
_ validate= (12) - downto (24)
- entries (7)
- eval (24)
- format (12)
-
format
_ date (12) -
format
_ datetime (12) -
gregorian
_ leap? (12) - header (12)
- httpdate (48)
- iso8601 (48)
- jd (24)
- jisx0301 (36)
-
json
_ create (24) -
julian
_ leap? (12) - lastBuildDate (24)
- lastBuildDate= (24)
-
last
_ update= (12) - leap? (12)
-
net
/ smtp (12) - new (45)
-
new
_ offset (12) -
new
_ start (12) -
next
_ day (12) -
next
_ month (12) -
next
_ update= (12) -
next
_ year (12) - now (12)
- ordinal (24)
- parse (48)
-
prev
_ day (12) -
prev
_ month (12) -
prev
_ year (12) - produce (6)
- pubDate (48)
- pubDate= (48)
- rand (36)
-
rfc1123
_ date (12) - rfc2822 (48)
- rfc3339 (36)
- rfc822 (48)
-
ruby 1
. 6 feature (12) -
safe
_ load (19) - sort (12)
- sprintf (12)
- step (24)
- strftime (24)
- strptime (48)
-
sy
_ updateBase (12) -
sy
_ updateBase= (12) -
sy
_ updateFrequency (12) -
sy
_ updateFrequency= (12) -
sy
_ updatePeriod (12) -
sy
_ updatePeriod= (12) -
to
_ a (7) -
to
_ csv (12) -
to
_ json (24) - today (24)
- tsort (12)
-
uid
_ sort (12) -
unconverted
_ fields? (12) - update (156)
-
update
_ sources= (12) - updated (36)
- upto (24)
- uptodate? (12)
-
valid
_ civil? (12) -
valid
_ commercial? (12) -
valid
_ date? (12) -
valid
_ jd? (12) -
valid
_ ordinal? (12) - validate (12)
-
write
_ headers? (12) - xmlschema (48)
- yaml (12)
- パターンマッチ (3)
- リテラル (11)
検索結果
先頭4件
-
WEBrick
:: HTTPResponse # body=(val) (12.0) -
クライアントに返す内容(エンティティボディ)をセットします。
...容(エンティティボディ)をセットします。
自身が chunked であっても body の値はチャンク形式ではありません。
@param val メッセージボディを文字列か IO オブジェクトで指定します。
自身が chunked であってもチャンク......ディングされます。
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 # chunked=(flag) (12.0) -
真に設定するとクライアントに返す内容(エンティティボディ)を chunk に分けるようになります。
...るようになります。
自身の WEBrick::HTTPResponse#request_http_version が 1.0 以下である場合、この値は無視されます。
@param flag true を指定した場合、レスポンスを chunk に分けてクライアントに返します。
require 'webrick'
include WEBri......ck
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
res.chunked = true
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 09:04:28 GMT
Server:
Transfer-Encoding: chunked
4
hoge
0
#... -
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (12.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...いけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの値を整数で指定します。nil を指定することは出来ません。
require 'webrick'
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) (12.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...いけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの値を整数で指定します。nil を指定することは出来ません。
require 'webrick'
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...