220件ヒット
[201-220件を表示]
(0.116秒)
ライブラリ
- ビルトイン (33)
-
cgi
/ core (55) -
cgi
/ session (11) -
net
/ http (11) -
webrick
/ cgi (22) -
webrick
/ httputils (88)
クラス
- CGI (33)
-
CGI
:: Session (11) - Module (33)
-
WEBrick
:: CGI (22) -
WEBrick
:: HTTPUtils :: FormData (88)
モジュール
-
CGI
:: QueryExtension (22) -
Net
:: HTTPHeader (11)
検索結果
-
WEBrick
:: HTTPUtils :: FormData # to _ ary -> Array (19.0) -
自身が表す各フォームデータを収納した配列を生成して返します。
...自身が表す各フォームデータを収納した配列を生成して返します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].list #=> ["val1", "val2", "val3"]
end
end
MyCGI.new.start()... -
Net
:: HTTPHeader # content _ type -> String|nil (13.0) -
"text/html" のような Content-Type を表す 文字列を返します。
...場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data'
req.content_type # => "multipart/form-data...