[edit] 要約 汎用データ転送プロトコル HTTP を扱うライブラリです。実装は [RFC2616] に基きます。 使用例 ウェブサーバからドキュメントを得る (GET) 例1: GET して 表示するだけ require 'net/http' print Net::HTTP.get('www.example.com', '/index.html') 例2: URI を使う require 'net/http' require 'uri' print Net::HTTP.get(URI.parse('http://www.example.com/index.html')) 例3: より汎用的な例 require 'net/http' require 'uri' url = URI.parse('http://www.example.com/index.html') res = Net: