instance method Net::HTTPHeader#content_type=
content_type=(type)set_content_type(type, params = {})-
type と params から Content-Type: ヘッダフィールドの 値を設定します。
- [PARAM] type:
- メディアタイプを文字列で指定します。
- [PARAM] params:
- パラメータ属性をハッシュで指定します。
module Net::HTTPHeader
content_type=(type)set_content_type(type, params = {})type と params から Content-Type: ヘッダフィールドの 値を設定します。