2009-05-11から1日間の記事一覧

open_uri でレスポンスヘッダー情報を見る

#require 'open-uri' open("http://....") {|r| r.meta.each_pair {|k,v| puts "#{k}: #{v}"} }

×設定を確認してください ○設定を変えてから元に戻してみてください

「お前のやり方が間違っている」と感じさせずに、「ソフトウェアがちゃんと動くようにするために」と伝える、と。なるほどー。 Instead of telling them to check a setting, tell them to change the setting and then change it back “just to make sure t…