code: def prepare_headers(self, headers):
          
  
          if headers:
              self.headers = CaseInsensitiveDict((to_native_string(name), value) for name, value in headers.items())
          else:
              self.headers = CaseInsensitiveDict()
docs: Prepares the given HTTP headers.