828件ヒット
[1-100件を表示]
(0.173秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ core (12) -
net
/ http (432) -
net
/ imap (180) - open-uri (24)
-
rdoc
/ markup (12) -
rdoc
/ markup / formatter (12) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) - rss (48)
-
rubygems
/ package / tar _ output (12) -
webrick
/ httpresponse (24) -
webrick
/ httpservlet / filehandler (24) -
webrick
/ httputils (12)
クラス
- CGI (12)
-
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) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase (24) -
RSS
:: TrackBackModel20 :: TrackBackPing (24) -
WEBrick
:: HTTPResponse (24) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (24) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
Net
:: HTTPHeader (228) -
OpenURI
:: Meta (12) -
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) - content= (24)
-
content
_ encoding (12) -
content
_ id (36) -
content
_ length (12) -
content
_ length= (12) -
content
_ range (12) -
content
_ type (12) -
content
_ type= (12) - 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) -
make
_ partial _ content (12) - param (12)
- post (24)
- post2 (24)
-
prepare
_ range (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) -
type
_ params (12)
検索結果
先頭5件
-
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase # content (27103.0) -
@todo
...@todo... -
RSS
:: TrackBackModel20 :: TrackBackPing # content (24103.0) -
@todo
...@todo... -
RDoc
:: Markup # content -> String (24102.0) -
変換する文字列を返します。
...rdoc ライブラリのデバッグ用途に使用します。
SM::SimpleMarkup#convert の後に実行します。
変換のために加工したオブジェクトを改行で連結したものを返すため、変換前
の文字列と結果が異なる事があります。
@see SM::SimpleMarkup... -
Net
:: HTTPHeader # content _ type=(type) (15337.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 = {}) (15337.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"
//}... -
OpenURI
:: Meta # content _ encoding -> [String] (15246.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"]
}
//}... -
Net
:: HTTPHeader # content _ type -> String|nil (15242.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
:: IMAP :: BodyTypeBasic # content _ id -> String | nil (15218.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (15218.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045...