jameskilton/simple_aws — Issue #4: Error on HTTP error responses
Author: jameskilton
Created: 2012-01-30 22:08:06+00:00
State: open

Errors with an empty parsed_response are dying:

#, @headers={"date"=>["Mon, 30 Jan 2012 22:04:37 GMT"], "connection"=>["close"]}>
rake aborted!
undefined method `has_key?' for "":String
/Users/roelofs/.rvm/gems/ruby-1.9.3-p0@sysops/gems/simple_aws-1.1.0/lib/simple_aws/core/response.rb:253:in `parse_error_from'
/Users/roelofs/.rvm/gems/ruby-1.9.3-p0@sysops/gems/simple_aws-1.1.0/lib/simple_aws/core/response.rb:240:in `parse_and_throw_error_from'
....