The http header name is "Authorization", so you have to write something 
like:

headers = {'Authorization' => ???}

-- 
Posted via http://www.ruby-forum.com/.