480件ヒット
[1-100件を表示]
(0.226秒)
別のキーワード
ライブラリ
-
cgi
/ core (12) -
net
/ http (192) -
net
/ imap (168) - open-uri (12)
-
rexml
/ streamlistener (12) - rss (24)
-
webrick
/ httprequest (24) -
webrick
/ httpresponse (36)
クラス
-
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 :: SkipDaysBase :: DayBase (24) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (36)
モジュール
-
CGI
:: QueryExtension (12) -
Net
:: HTTPHeader (156) -
OpenURI
:: Meta (12) -
REXML
:: StreamListener (12)
キーワード
- [] (12)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - content= (12)
-
content
_ id (36) -
content
_ type (60) -
content
_ type= (24) - delete (12)
- description (36)
- disposition (48)
-
dsp
_ type (12) - encoding (36)
- entitydecl (12)
- fetch (36)
-
get
_ fields (12) - key? (12)
-
main
_ type (12) - post (12)
- query (12)
-
set
_ content _ type (12) -
sub
_ type (12) -
type
_ params (12)
検索結果
先頭5件
-
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase # content (24103.0) -
@todo
@todo -
OpenURI
:: Meta # content _ type -> String (21362.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) (18537.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 = {}) (18537.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 (18342.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) (18330.0) -
Content-Type ヘッダの値をセットします。
...
Content-Type ヘッダの値をセットします。
@param val Content-Type ヘッダの値を文字列で指定します。
res.content_type = "text/html"
@see WEBrick::HTTPUtils.#mime_type... -
CGI
:: QueryExtension # content _ type -> String (18318.0) -
ENV['CONTENT_TYPE'] を返します。
...ENV['CONTENT_TYPE'] を返します。... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (18318.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。... -
WEBrick
:: HTTPResponse # content _ type -> String | nil (18318.0) -
Content-Type ヘッダの値を返します。
...Content-Type ヘッダの値を返します。...