class Aws::Errors::MissingContentLength

Raised when a `streaming` operation has `requiresLength` trait enabled but request payload size/length cannot be calculated

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/aws-sdk-core/errors.rb, line 65
def initialize(*args)
  msg = 'Required `Content-Length` value missing for the request.'
  super(msg)
end