960件ヒット
[1-100件を表示]
(0.143秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ core (36) -
net
/ http (432) -
net
/ imap (180) - open-uri (72)
-
rdoc
/ markup (12) -
rdoc
/ markup / formatter (12) -
rexml
/ document (24) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) -
rubygems
/ package / tar _ output (12) -
webrick
/ httprequest (36) -
webrick
/ httpresponse (84) -
webrick
/ httpservlet / filehandler (12) -
webrick
/ httputils (12)
クラス
- CGI (24)
-
Gem
:: Package :: TarOutput (12) - IO (12)
-
Net
:: HTTP (180) -
Net
:: HTTPGenericRequest (24) -
Net
:: IMAP :: BodyTypeBasic (48) -
Net
:: IMAP :: BodyTypeMessage (48) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: BodyTypeText (48) -
Net
:: IMAP :: ContentDisposition (24) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (12) -
REXML
:: Instruction (24) -
WEBrick
:: HTTPRequest (36) -
WEBrick
:: HTTPResponse (84) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (12) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
CGI
:: QueryExtension (12) -
Net
:: HTTPHeader (228) -
OpenURI
:: Meta (60) -
OpenURI
:: OpenRead (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12)
キーワード
- [] (24)
- []= (12)
-
add
_ gem _ contents (12) - attlistdecl (12)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - charset (24)
-
content
_ encoding (12) -
content
_ id (36) -
content
_ length (36) -
content
_ length= (24) -
content
_ range (12) -
content
_ type (60) -
content
_ type= (24) - convert (12)
- delete (12)
- description (36)
- disposition (48)
-
dsp
_ type (12) - encoding (36)
- entitydecl (12)
- fetch (36)
-
form
_ data= (12) - get2 (24)
-
get
_ fields (12) - head (12)
- head2 (24)
- header (12)
- key? (12)
-
main
_ type (12) - out (12)
- param (12)
- post (24)
- post2 (24)
-
prepare
_ range (12) - query (12)
-
range
_ length (12) - read (12)
- readpartial (12)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
set
_ content _ type (12) -
set
_ form _ data (12) -
sub
_ type (12) - target (12)
-
to
_ s (12) -
type
_ params (12)
検索結果
先頭5件
-
RDoc
:: Markup # content -> String (21202.0) -
変換する文字列を返します。
...ブラリのデバッグ用途に使用します。
SM::SimpleMarkup#convert の後に実行します。
変換のために加工したオブジェクトを改行で連結したものを返すため、変換前
の文字列と結果が異なる事があります。
@see SM::SimpleMarkup#convert... -
REXML
:: Instruction # content -> String | nil (18250.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 (15438.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 (12376.0) -
"text/html" のような Content-Type を表す 文字列を返します。
..." のような 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.r......equest_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data'
req.content_type # => "multipart/form-data"
//}... -
Net
:: HTTPHeader # content _ type=(type) (12371.0) -
type と params から Content-Type: ヘッダフィールドの 値を設定します。
...type と params から Content-Type: ヘッダフィールドの
値を設定します。
@param type メディアタイプを文字列で指定します。
@param params パラメータ属性をハッシュで指定します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.......example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data' # => "multipart/form-data"
req.content_type # => "multipart/form-data"
//}... -
Net
:: HTTPHeader # set _ content _ type(type , params = {}) (12371.0) -
type と params から Content-Type: ヘッダフィールドの 値を設定します。
...type と params から Content-Type: ヘッダフィールドの
値を設定します。
@param type メディアタイプを文字列で指定します。
@param params パラメータ属性をハッシュで指定します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.......example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data' # => "multipart/form-data"
req.content_type # => "multipart/form-data"
//}... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (12334.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。... -
WEBrick
:: HTTPResponse # content _ type -> String | nil (12334.0) -
Content-Type ヘッダの値を返します。
...Content-Type ヘッダの値を返します。... -
CGI
:: QueryExtension # content _ type -> String (12318.0) -
ENV['CONTENT_TYPE'] を返します。
...ENV['CONTENT_TYPE'] を返します。...