class Aws::Rest::Request::Headers

def apply_header_value(headers, ref, value)

def apply_header_value(headers, ref, value)
  headers[ref.location_name] =
    case ref.shape
    when TimestampShape then value.utc.httpdate
    else value.to_s
    end
end