438件ヒット
[401-438件を表示]
(0.087秒)
ライブラリ
- ビルトイン (246)
- csv (24)
-
net
/ http (72) - psych (24)
-
rexml
/ document (60) -
webrick
/ httpresponse (12)
クラス
- Array (18)
- CSV (24)
-
Encoding
:: Converter (192) -
Encoding
:: InvalidByteSequenceError (24) -
Encoding
:: UndefinedConversionError (12) -
Psych
:: Stream (24) -
REXML
:: Document (36) -
REXML
:: Instruction (24) -
WEBrick
:: HTTPResponse (12)
モジュール
-
Net
:: HTTPHeader (72)
キーワード
- chunked= (12)
- chunked? (12)
- content (12)
- convert (12)
- convpath (12)
-
destination
_ encoding (12) - each (12)
-
each
_ capitalized _ name (12) -
each
_ header (12) -
each
_ key (12) -
each
_ name (12) -
error
_ bytes (12) -
error
_ char (12) - finish (12)
-
incomplete
_ input? (12) -
insert
_ output (12) - inspect (12)
-
last
_ error (12) - pack (18)
-
primitive
_ convert (48) -
primitive
_ errinfo (12) - putback (24)
- replacement (12)
- replacement= (12)
-
source
_ encoding (12) -
stand
_ alone? (12) - start (24)
- target (12)
- version (12)
検索結果
先頭4件
-
REXML
:: Document # version -> String (13.0) -
XML 宣言に含まれている XML 文書のバージョンを返します。
...XML 宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.version # => "1.0"
//}... -
REXML
:: Instruction # content -> String | nil (13.0) -
XML 処理命令の内容を返します。
...XML 処理命令の内容を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-... -
REXML
:: Instruction # target -> String (13.0) -
XML 処理命令のターゲットを返します。
...XML 処理命令のターゲットを返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-st... -
WEBrick
:: HTTPResponse # chunked=(flag) (13.0) -
真に設定するとクライアントに返す内容(エンティティボディ)を chunk に分けるようになります。
...ick'
include WEBrick
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
#...