1件ヒット
[1-1件を表示]
(0.067秒)
トップページ > :インスタンスメソッド > :l > :2.4.0 > :content_type= > :webrick/httpresponse > クラス:WEBrick::HTTPResponse
検索結果
-
WEBrick
:: HTTPResponse # content _ type=(val) (54631.0) -
Content-Type ヘッダの値をセットします。
Content-Type ヘッダの値をセットします。
@param val Content-Type ヘッダの値を文字列で指定します。
res.content_type = "text/html"
@see WEBrick::HTTPUtils.#mime_type