480件ヒット
[1-100件を表示]
(0.097秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ core (48) -
net
/ http (108) -
net
/ imap (132) - open-uri (60)
-
rdoc
/ markup (12) -
rexml
/ document (24) -
webrick
/ httprequest (24) -
webrick
/ httpresponse (48) -
webrick
/ httputils (12)
クラス
- CGI (36)
- IO (12)
-
Net
:: IMAP :: BodyTypeBasic (36) -
Net
:: IMAP :: BodyTypeMessage (36) -
Net
:: IMAP :: BodyTypeText (36) -
Net
:: IMAP :: ContentDisposition (24) -
RDoc
:: Markup (12) -
REXML
:: Instruction (24) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (48) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
CGI
:: QueryExtension (12) -
Net
:: HTTPHeader (108) -
OpenURI
:: Meta (48) -
OpenURI
:: OpenRead (12)
キーワード
- [] (24)
- charset (24)
-
content
_ encoding (12) -
content
_ id (36) -
content
_ length (12) -
content
_ length= (12) -
content
_ type (60) - delete (12)
- description (36)
-
dsp
_ type (12) - encoding (36)
- fetch (36)
-
get
_ fields (12) - header (12)
-
main
_ type (12) - out (12)
- param (12)
- print (12)
- query (12)
- read (12)
- readpartial (12)
-
sub
_ type (12) - target (12)
-
to
_ s (12)
検索結果
先頭5件
-
REXML
:: Instruction # content -> String | nil (18215.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 (18203.0) -
変換する文字列を返します。
変換する文字列を返します。
rdoc ライブラリのデバッグ用途に使用します。
SM::SimpleMarkup#convert の後に実行します。
変換のために加工したオブジェクトを改行で連結したものを返すため、変換前
の文字列と結果が異なる事があります。
@see SM::SimpleMarkup#convert -
OpenURI
:: Meta # content _ type -> String (6257.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 (6243.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] (6241.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 (6219.0) -
ENV['CONTENT_TYPE'] を返します。
...ENV['CONTENT_TYPE'] を返します。... -
Net
:: IMAP :: BodyTypeBasic # content _ id -> String | nil (6219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (6219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (6219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045...