code: def headers_for_url(cls, url):
          
          response = cls.http_request(url, method='HEAD')
          if response.status != 200:
              cls.raise_http_error(response)
  
          return Resource.headers_as_dict(response)
docs: Return the headers only for the given URL as a dict