# File lib/aws/core/http/request.rb, line 145 def body= body @body = body if body headers['content-length'] = body.bytesize if body else headers.delete('content-length') end end