816件ヒット
[1-100件を表示]
(0.031秒)
種類
- インスタンスメソッド (564)
- 定数 (108)
- 文書 (72)
- クラス (48)
- ライブラリ (24)
ライブラリ
-
cgi
/ core (24) -
net
/ http (192) -
net
/ imap (192) - open-uri (12)
-
rexml
/ sax2listener (12) -
rexml
/ streamlistener (24) - rss (96)
-
webrick
/ httprequest (24) -
webrick
/ httpresponse (36) -
webrick
/ httpstatus (108)
クラス
-
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (24) -
Net
:: IMAP :: BodyTypeBasic (48) -
Net
:: IMAP :: BodyTypeMessage (48) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: BodyTypeText (48) -
Net
:: IMAP :: ContentDisposition (12) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (24) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase (24) -
RSS
:: Rss :: Channel :: Item :: Category (24) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (36)
モジュール
-
CGI
:: QueryExtension (24) -
Net
:: HTTPHeader (156) -
OpenURI
:: Meta (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (24) -
WEBrick
:: HTTPStatus (108)
キーワード
- BodyTypeMessage (12)
- BodyTypeText (12)
- CategoryBase (12)
- DayBase (12)
-
RC
_ BAD _ GATEWAY (12) -
RC
_ GATEWAY _ TIMEOUT (12) -
RC
_ MOVED _ PERMANENTLY (12) -
RC
_ PAYMENT _ REQUIRED (12) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (12) -
RC
_ REQUEST _ ENTITY _ TOO _ LARGE (12) -
RC
_ TEMPORARY _ REDIRECT (12) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (12) -
RC
_ USE _ PROXY (12) - [] (12)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - content= (36)
-
content
_ id (36) -
content
_ length (12) -
content
_ type (60) -
content
_ type= (24) - delete (12)
- description (36)
- disposition (48)
-
dsp
_ type (12) - encoding (36)
- entity (12)
- entitydecl (24)
- fetch (36)
-
get
_ fields (12) - key? (12)
-
main
_ type (12) - post (12)
- query (12)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / contents _ command (12) -
set
_ content _ type (12) -
sub
_ type (12) -
type
_ params (12) - 正規表現 (12)
検索結果
先頭5件
-
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # content (21102.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase # content (21102.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Category # content (21102.0) -
@todo
@todo -
Net
:: HTTPHeader # content _ type=(type) (12336.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 = {}) (12336.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 _ type -> String (12255.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 (12241.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"
//}... -
WEBrick
:: HTTPResponse # content _ type=(val) (12229.0) -
Content-Type ヘッダの値をセットします。
...
Content-Type ヘッダの値をセットします。
@param val Content-Type ヘッダの値を文字列で指定します。
res.content_type = "text/html"
@see WEBrick::HTTPUtils.#mime_type... -
CGI
:: QueryExtension # content _ type -> String (12217.0) -
ENV['CONTENT_TYPE'] を返します。
...ENV['CONTENT_TYPE'] を返します。...