#NEWLINE# def head_container( self , container , headers = None , query = None , cdn = False ) : #NEWLINE# #INDENT# '\n        HEADs the container and returns the results. Useful headers\n        returned are:\n\n        =========================== =================================\n        x-container-bytes-used      Object storage used for the\n                                    container, in bytes.\n        x-container-object-count    The number of objects in the\n                                    container.\n        =========================== =================================\n\n        Also, any user headers beginning with x-container-meta- are\n        returned.\n\n        These values can be delayed depending the Swift cluster.\n\n        :param container: The name of the container.\n        :param headers: Additional headers to send with the request.\n        :param query: Set to a dict of query values to send on the\n            query string of the request.\n        :param cdn: If set True, the CDN management interface will be\n            used.\n        :returns: A tuple of (status, reason, headers, contents).\n\n            :status: is an int for the HTTP status code.\n            :reason: is the str for the HTTP status (ex: "Ok").\n            :headers: is a dict with all lowercase keys of the HTTP\n                headers; if a header has multiple values, it will be a\n                list.\n            :contents: is the str for the HTTP body.\n        ' #NEWLINE# path = self . _container_path ( container ) #NEWLINE# return self . request ( 'HEAD' , container , '' , headers , query = query , cdn = cdn )