312件ヒット
[1-100件を表示]
(0.111秒)
ライブラリ
-
cgi
/ core (36) -
net
/ http (36) -
net
/ imap (120) - open-uri (48)
-
rexml
/ document (24) -
webrick
/ httprequest (24) -
webrick
/ httpresponse (12) -
webrick
/ httputils (12)
クラス
- CGI (24)
-
Net
:: IMAP :: BodyTypeBasic (36) -
Net
:: IMAP :: BodyTypeMessage (36) -
Net
:: IMAP :: BodyTypeText (36) -
Net
:: IMAP :: ContentDisposition (12) -
REXML
:: Instruction (24) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
CGI
:: QueryExtension (12) -
Net
:: HTTPHeader (36) -
OpenURI
:: Meta (36) -
OpenURI
:: OpenRead (12)
キーワード
- [] (12)
- charset (24)
-
content
_ id (36) -
content
_ type (60) - description (36)
-
dsp
_ type (12) - encoding (36)
- header (12)
-
main
_ type (12) - out (12)
- query (12)
- read (12)
-
sub
_ type (12) - target (12)
検索結果
先頭5件
-
REXML
:: Instruction # content -> String | nil (18227.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
//}... -
OpenURI
:: Meta # content _ type -> String (12412.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 #=> "tex......スの 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 (12384.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"
//}... -
CGI
:: QueryExtension # content _ type -> String (12336.0) -
ENV['CONTENT_TYPE'] を返します。
...ENV['CONTENT_TYPE'] を返します。... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (12336.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。... -
WEBrick
:: HTTPResponse # content _ type -> String | nil (12336.0) -
Content-Type ヘッダの値を返します。
...Content-Type ヘッダの値を返します。... -
Net
:: IMAP :: BodyTypeBasic # content _ id -> String | nil (9219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (9219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (9219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045...