Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > net/httpライブラリ > Net::HTTPResponseクラス > http_version

instance method Net::HTTPResponse#http_version

http_version -> String[permalink][rdoc]

サーバがサポートしている HTTP のバージョンを文字列で返します。