{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/1050","labels_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/1050/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/1050/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/1050/events","html_url":"https://github.com/aws/aws-sdk-ruby/issues/1050","id":125709929,"number":1050,"title":"seahorse kicking undefined_method 'decode_content' while trying to copy s3 object","user":{"login":"jeffchuber","id":891664,"avatar_url":"https://avatars.githubusercontent.com/u/891664?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffchuber","html_url":"https://github.com/jeffchuber","followers_url":"https://api.github.com/users/jeffchuber/followers","following_url":"https://api.github.com/users/jeffchuber/following{/other_user}","gists_url":"https://api.github.com/users/jeffchuber/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffchuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffchuber/subscriptions","organizations_url":"https://api.github.com/users/jeffchuber/orgs","repos_url":"https://api.github.com/users/jeffchuber/repos","events_url":"https://api.github.com/users/jeffchuber/events{/privacy}","received_events_url":"https://api.github.com/users/jeffchuber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T22:44:44Z","updated_at":"2016-01-11T21:05:49Z","closed_at":null,"body":"The error I'm getting is `Error:undefined method 'decode_content' for #<Net::HTTP::Put PUT>` and the top line of the framework trace is `aws-sdk-core (2.2.9) lib/seahorse/client/net_http/patches.rb:30:in 'block in new_transport_request'` \r\n\r\nI'm using Ruby 2.0 and Rails 4.2.1.\r\n\r\nI'm trying to do a fairly simple copy one s3 object into a new location. My code is\r\n\r\n```ruby\r\ns3 = Aws::S3::Resource.new\r\nfirst = s3.bucket(ENV['S3_BUCKET']).object(source)\r\nsecond = s3.bucket(ENV['S3_BUCKET']).object(destination)\r\nsecond.copy_from(first)\r\n```\r\nsource and destination are strings like 'uploads/stuff/stuff/file.txt\"\r\n\r\nI can't down if this is a complicated dependency issue. I've referenced these two issues https://github.com/aws/aws-sdk-ruby/issues/969, and https://github.com/aws/aws-sdk-ruby/issues/849 , but to no resolve. \r\n\r\nRelevant gemfile\r\n```\r\nUsing aws-sdk-core 2.2.9\r\nUsing aws-sdk-resources 2.2.9\r\nUsing aws-sdk 2.2.9\r\n```\r\n\r\nI appreciate the help! "},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/comments/170689648","html_url":"https://github.com/aws/aws-sdk-ruby/issues/1050#issuecomment-170689648","issue_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/1050","id":170689648,"user":{"login":"awood45","id":2114465,"avatar_url":"https://avatars.githubusercontent.com/u/2114465?v=3","gravatar_id":"","url":"https://api.github.com/users/awood45","html_url":"https://github.com/awood45","followers_url":"https://api.github.com/users/awood45/followers","following_url":"https://api.github.com/users/awood45/following{/other_user}","gists_url":"https://api.github.com/users/awood45/gists{/gist_id}","starred_url":"https://api.github.com/users/awood45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awood45/subscriptions","organizations_url":"https://api.github.com/users/awood45/orgs","repos_url":"https://api.github.com/users/awood45/repos","events_url":"https://api.github.com/users/awood45/events{/privacy}","received_events_url":"https://api.github.com/users/awood45/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T21:05:49Z","updated_at":"2016-01-11T21:05:49Z","body":"I can't reproduce this currently (your example works for me)...a full stack trace may help to see if there's something being plumbed up the stack, but I'll keep trying to reproduce."}}