968件ヒット
[1-100件を表示]
(0.152秒)
ライブラリ
- ビルトイン (11)
-
cgi
/ core (44) -
net
/ http (396) -
net
/ imap (165) - open-uri (66)
-
rdoc
/ markup (11) -
rdoc
/ markup / formatter (11) -
rexml
/ document (22) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (11) - rss (66)
-
rubygems
/ package / tar _ output (11) -
webrick
/ httprequest (33) -
webrick
/ httpresponse (77) -
webrick
/ httpservlet / filehandler (22) -
webrick
/ httputils (11)
クラス
- CGI (33)
-
Gem
:: Package :: TarOutput (11) - IO (11)
-
Net
:: HTTP (165) -
Net
:: HTTPGenericRequest (22) -
Net
:: IMAP :: BodyTypeBasic (44) -
Net
:: IMAP :: BodyTypeMessage (44) -
Net
:: IMAP :: BodyTypeMultipart (11) -
Net
:: IMAP :: BodyTypeText (44) -
Net
:: IMAP :: ContentDisposition (22) -
RDoc
:: Markup (11) -
RDoc
:: Markup :: Formatter (11) -
REXML
:: Instruction (22) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase (22) -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase (22) -
RSS
:: TrackBackModel20 :: TrackBackPing (22) -
WEBrick
:: HTTPRequest (33) -
WEBrick
:: HTTPResponse (77) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (22) -
WEBrick
:: HTTPUtils :: FormData (11)
モジュール
-
CGI
:: QueryExtension (11) -
Net
:: HTTPHeader (209) -
OpenURI
:: Meta (55) -
OpenURI
:: OpenRead (11) -
REXML
:: SAX2Listener (11) -
REXML
:: StreamListener (11)
キーワード
- [] (22)
- []= (11)
-
add
_ gem _ contents (11) - attlistdecl (11)
- body= (11)
-
body
_ stream (11) -
body
_ stream= (11) - charset (22)
- content= (33)
-
content
_ encoding (11) -
content
_ id (33) -
content
_ length (33) -
content
_ length= (22) -
content
_ range (11) -
content
_ type (55) -
content
_ type= (22) - convert (11)
- delete (11)
- description (33)
- disposition (44)
-
dsp
_ type (11) - encoding (33)
- entitydecl (11)
- fetch (33)
-
form
_ data= (11) - get2 (22)
-
get
_ fields (11) - head (11)
- head2 (22)
- header (11)
- key? (11)
-
main
_ type (11) -
make
_ partial _ content (11) - out (11)
- param (11)
- post (22)
- post2 (22)
-
prepare
_ range (11) - print (11)
- query (11)
-
range
_ length (11) - read (11)
- readpartial (11)
-
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
set
_ content _ type (11) -
set
_ form _ data (11) -
sub
_ type (11) - target (11)
-
to
_ s (11) -
type
_ params (11)
検索結果
先頭5件
-
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase # content (21103.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase # content (21103.0) -
@todo
@todo -
RSS
:: TrackBackModel20 :: TrackBackPing # content (21103.0) -
@todo
@todo -
RDoc
:: Markup # content -> String (21102.0) -
変換する文字列を返します。
...ブラリのデバッグ用途に使用します。
SM::SimpleMarkup#convert の後に実行します。
変換のために加工したオブジェクトを改行で連結したものを返すため、変換前
の文字列と結果が異なる事があります。
@see SM::SimpleMarkup#convert... -
REXML
:: Instruction # content -> String | nil (18120.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 (15262.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=(type) (12337.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 = {}) (12337.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 # content _ type -> String|nil (12242.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"
//}... -
WEBrick
:: HTTPResponse # content _ type=(val) (12230.0) -
Content-Type ヘッダの値をセットします。
...
Content-Type ヘッダの値をセットします。
@param val Content-Type ヘッダの値を文字列で指定します。
res.content_type = "text/html"
@see WEBrick::HTTPUtils.#mime_type...