{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/issues/273","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/issues/273/comments","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/issues/273/events","html_url":"https://github.com/Azure/azure-sdk-for-ruby/pull/273","id":105891586,"number":273,"title":"Resolves #272 - BlobService::call fails when body is an IO ","user":{"login":"zachproffitt","id":13596545,"avatar_url":"https://avatars.githubusercontent.com/u/13596545?v=3","gravatar_id":"","url":"https://api.github.com/users/zachproffitt","html_url":"https://github.com/zachproffitt","followers_url":"https://api.github.com/users/zachproffitt/followers","following_url":"https://api.github.com/users/zachproffitt/following{/other_user}","gists_url":"https://api.github.com/users/zachproffitt/gists{/gist_id}","starred_url":"https://api.github.com/users/zachproffitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachproffitt/subscriptions","organizations_url":"https://api.github.com/users/zachproffitt/orgs","repos_url":"https://api.github.com/users/zachproffitt/repos","events_url":"https://api.github.com/users/zachproffitt/events{/privacy}","received_events_url":"https://api.github.com/users/zachproffitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/labels/cla-not-required","name":"cla-not-required","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-10T20:29:36Z","updated_at":"2015-09-11T22:48:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/pulls/273","html_url":"https://github.com/Azure/azure-sdk-for-ruby/pull/273","diff_url":"https://github.com/Azure/azure-sdk-for-ruby/pull/273.diff","patch_url":"https://github.com/Azure/azure-sdk-for-ruby/pull/273.patch"},"body":"BlobService attempts to synchronize encoding between the Content-Encoding header and the body encoding.  There were two issues:\r\n\r\n1) Body can be either a String of IO, but the code only worked with respect to Strings.\r\n2) Azure expects Content-Encoding to be lowercase, otherwise authentication fails."},"comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/issues/comments/139680185","html_url":"https://github.com/Azure/azure-sdk-for-ruby/pull/273#issuecomment-139680185","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-ruby/issues/273","id":139680185,"user":{"login":"devigned","id":386473,"avatar_url":"https://avatars.githubusercontent.com/u/386473?v=3","gravatar_id":"","url":"https://api.github.com/users/devigned","html_url":"https://github.com/devigned","followers_url":"https://api.github.com/users/devigned/followers","following_url":"https://api.github.com/users/devigned/following{/other_user}","gists_url":"https://api.github.com/users/devigned/gists{/gist_id}","starred_url":"https://api.github.com/users/devigned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devigned/subscriptions","organizations_url":"https://api.github.com/users/devigned/orgs","repos_url":"https://api.github.com/users/devigned/repos","events_url":"https://api.github.com/users/devigned/events{/privacy}","received_events_url":"https://api.github.com/users/devigned/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T22:48:55Z","updated_at":"2015-09-11T22:48:55Z","body":"@zachproffitt I love it! Could you also add a unit test to ensure no regressions?"}}