Method: Aws::Signers::V4#canonical_header_value

Defined in:
lib/aws-sdk-core/signers/v4.rb

#canonical_header_value(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



203
204
205
# File 'lib/aws-sdk-core/signers/v4.rb', line 203

def canonical_header_value(value)
  value.match(/^".*"$/) ? value : value.gsub(/\s+/, ' ').strip
end