635件ヒット
[1-100件を表示]
(0.049秒)
ライブラリ
- ビルトイン (44)
-
cgi
/ core (44) - csv (33)
-
net
/ http (99) -
net
/ imap (121) - open-uri (74)
- openssl (11)
-
rdoc
/ markup (11) -
rexml
/ document (22) -
webrick
/ httprequest (22) -
webrick
/ httpresponse (44) -
webrick
/ httputils (11)
クラス
- CGI (33)
- CSV (33)
-
Encoding
:: Converter (33) - IO (11)
-
Net
:: IMAP :: BodyTypeBasic (33) -
Net
:: IMAP :: BodyTypeMessage (33) -
Net
:: IMAP :: BodyTypeText (33) -
Net
:: IMAP :: ContentDisposition (22) -
RDoc
:: Markup (11) -
REXML
:: Instruction (22) -
WEBrick
:: HTTPRequest (22) -
WEBrick
:: HTTPResponse (44) -
WEBrick
:: HTTPUtils :: FormData (11)
モジュール
-
CGI
:: QueryExtension (11) - Kernel (8)
-
Net
:: HTTPHeader (99) - OpenURI (11)
-
OpenURI
:: Meta (44) -
OpenURI
:: OpenRead (11)
キーワード
- OCSP (11)
- [] (22)
- cgi (11)
- charset (22)
-
content
_ encoding (11) -
content
_ id (33) -
content
_ length (11) -
content
_ length= (11) -
content
_ type (55) - delete (11)
- description (33)
-
dsp
_ type (11) - encoding (33)
- fetch (33)
- filter (33)
-
get
_ fields (11) - header (11)
-
main
_ type (11) - new (33)
- open (8)
-
open
_ uri (11) - out (11)
- param (11)
- print (11)
- query (11)
- read (11)
- readpartial (11)
- rss (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
sub
_ type (11) - target (11)
-
to
_ s (11) -
webrick
/ cgi (11) - 正規表現 (11)
検索結果
先頭5件
-
REXML
:: Instruction # content -> String | nil (18214.0) -
XML 処理命令の内容を返します。
...ersion="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-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}... -
RDoc
:: Markup # content -> String (18202.0) -
変換する文字列を返します。
変換する文字列を返します。
rdoc ライブラリのデバッグ用途に使用します。
SM::SimpleMarkup#convert の後に実行します。
変換のために加工したオブジェクトを改行で連結したものを返すため、変換前
の文字列と結果が異なる事があります。
@see SM::SimpleMarkup#convert -
OpenURI
:: Meta # content _ type -> String (6256.0) -
対象となるリソースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。 Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
...ースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://www.ruby-lang.org/') {|f|
p f.content_type #=> "......ースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://www.ruby-lang.org/') {|f|
p f.content_type #... -
Net
:: HTTPHeader # content _ type -> String|nil (6242.0) -
"text/html" のような Content-Type を表す 文字列を返します。
..."text/html" のような Content-Type を表す
文字列を返します。
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"
//}... -
OpenURI
:: Meta # content _ encoding -> [String] (6240.0) -
対象となるリソースの Content-Encoding を文字列の配列として返します。 Content-Encoding ヘッダがない場合は、空の配列を返します。
...象となるリソースの Content-Encoding を文字列の配列として返します。
Content-Encoding ヘッダがない場合は、空の配列を返します。
例:
//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/f.tar.gz') {|f|
p f.content_encoding #=> ["x-gzip"]
}
//......象となるリソースの Content-Encoding を文字列の配列として返します。
Content-Encoding ヘッダがない場合は、空の配列を返します。
例:
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://example.com/f.tar.gz') {|f|
p f.content_encoding #=> ["x-gzip"]... -
CGI
:: QueryExtension # content _ type -> String (6218.0) -
ENV['CONTENT_TYPE'] を返します。
...ENV['CONTENT_TYPE'] を返します。... -
Net
:: IMAP :: BodyTypeBasic # content _ id -> String | nil (6218.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (6218.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (6218.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (6218.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。...