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

instance method Net::HTTPResponse#http_version

http_version -> String

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

class Net::HTTPResponse