module Seahorse::Client::HandlerBuilder

def handle_response(*args, &block)

def handle_response(*args, &block)
  handler(*args) do |context|
    resp = @handler.call(context)
    block.call(resp) if resp.context.http_response.status_code > 0
    resp
  end
end