nntp/nntp.py
def xhdr(self, header, msgid_range=None):
        """XHDR command.
        """
        args = header
        if range is not None:
            args += " " + utils.unparse_msgid_range(msgid_range)

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

        return self.info(code, message)
def xhdr(self, header, msgid_range=None):
        """XHDR command.
        """
        args = header
        if range is not None:
            args += " " + utils.unparse_msgid_range(msgid_range)

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

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