Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > webrick/httprequestライブラリ > WEBrick::HTTPRequestクラス > content_type

instance method WEBrick::HTTPRequest#content_type

content_type -> String | nil

リクエストの Content-Type ヘッダを文字列で返す。