docs: def _head(self, client_kwargs):
          """
          Returns object or bucket HTTP header.
  
          Args:
              client_kwargs (dict): Client arguments.
  
          Returns:
              dict: HTTP header.
          """
          with _handle_azure_exception():
              # File
              if 'file_name' in client_kwargs:
                  result = self.client.get_file_properties(**client_kwargs)
  
              # Directory
              elif 'directory_name' in client_kwargs:
                  result = self.client.get_directory_properties(**client_kwargs)
  
              # Share
              else:
                  result = self.client.get_share_properties(**client_kwargs)
  
          return self._model_to_dict(result)