def put_bucket_policy(bucket_policy)
        if bucket_policy && bucket_policy.is_a?(String) && bucket_policy.strip != ''
             bucket_request(:put,:body => bucket_policy,:subresource=>"policy")
             true
        else  
            false
        end
    end
def put_bucket_policy(bucket_policy)
        if bucket_policy && bucket_policy.is_a?(String) && bucket_policy.strip != ''
             bucket_request(:put,:body => bucket_policy,:subresource=>"policy")
             true
        else  
            false
        end
    end
Set bucket policy for the given bucket