nntp/nntp.py
def xzhdr(self, header, msgid_range=None):
        """XZHDR command.

        Args:
            msgid_range: A message-id as a string, or an article number as an
                integer, or a tuple of specifying a range of article numbers in
                the form (first, [last]) - if last is omitted then all articles
                after first are included. A msgid_range of None (the default)
                uses the current article.
        """
        args = header
        if msgid_range is not None:
            args += " " + utils.unparse_msgid_range(msgid_range)

        code, message = self.command("XZHDR", args)
        if code != 221:
            raise NNTPReplyError(code, message)

        return self.info(code, message, compressed=True)
def xzhdr(self, header, msgid_range=None):
        args = header
        if msgid_range is not None:
            args += " " + utils.unparse_msgid_range(msgid_range)

        code, message = self.command("XZHDR", args)
        if code != 221:
            raise NNTPReplyError(code, message)

        return self.info(code, message, compressed=True)
def xzhdr ( self , header , msgid_range = None ) : args = header if msgid_range is not None : args += " " + utils . unparse_msgid_range ( msgid_range ) code , message = self . command ( "XZHDR" , args ) if code != 221 : raise NNTPReplyError ( code , message ) return self . info ( code , message , compressed = True )
XZHDR command.

        Args:
            msgid_range: A message-id as a string, or an article number as an
                integer, or a tuple of specifying a range of article numbers in
                the form (first, [last]) - if last is omitted then all articles
                after first are included. A msgid_range of None (the default)
                uses the current article.
XZHDR command .