code: def get_signed_headers(headers):
      
      signed_headers = []
      for header in headers:
          signed_headers.append(header.lower().strip())
      return sorted(signed_headers)
docs: Get signed headers.
  
      :param headers: input dictionary to be sorted.