るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.020秒)
トップページ > クエリ:type=[x] > クラス:WEBrick::HTTPResponse[x]

別のキーワード

  1. rexml/document node_type
  2. win32ole ole_type
  3. rss type=
  4. rss type
  5. net/imap media_type

ライブラリ

検索結果

WEBrick::HTTPResponse#content_type=(val) (6107.0)

Content-Type ヘッダの値をセットします。

...Content-Type ヘッダの値をセットします。

@param val Content-Type ヘッダの値を文字列で指定します。

res.content_type = "text/html"

@see WEBrick::HTTPUtils.#mime_type...