From: Joe Smith Date: 2007-06-28T01:38:09+09:00 Subject: net/http for Googles Authentication api def process_token(token) url = URI.parse('http://www.google.com/account/AuthSubSessionToken/') request = Net::HTTP::Get.new(url.path) request['Content-Type'] = "text/html; charset=utf-8" request['User-Agent'] = "Ruby client" request['Authorization'] = "AuthSub token='#{token}'" res = Net::HTTP.start(url.host, 80) do |sess| sess.request(request) end end That is the code I'm using to send a request to http://www.google.com/account/AuthSubSessionToken/ with a special header attribute (Authorization) containing a token provided by Google. The code above results in a 404 exception, I don't think it's sending the correct request. Any suggestions as to what I did wrong or how I can view the entire request sent so I at least have an idea of whats wrong? -- Posted via http://www.ruby-forum.com/.