/*
   Indicating capability: HDR

   Syntax
     LIST HEADERS [MSGID|RANGE]

   Responses
     215    Field list follows (multi-line)

   Parameters
     MSGID    Requests list for access by message-id
     RANGE    Requests list for access by range
*/
Indicating capability: HDR

Syntax
LIST HEADERS [MSGID|RANGE]

Responses
215    Field list follows (multi-line)

Parameters
MSGID    Requests list for access by message-id
RANGE    Requests list for access by range
/ * Indicating capability : HDR Syntax LIST HEADERS [ MSGID|RANGE ] Responses 215 Field list follows ( multi - line ) Parameters MSGID Requests list for access by message - id RANGE Requests list for access by range * /
func handleListHeaders(dw io.Writer, c *textproto.Conn) error {
	err := c.PrintfLine("215 Field list follows")
	if err != nil {
		return err
	}
	_, err = fmt.Fprintln(dw, ":"); if err!=nil { return err }
	_, err = fmt.Fprintln(dw, ":bytes"); if err!=nil { return err }
	_, err = fmt.Fprintln(dw, ":lines"); if err!=nil { return err }
	return nil
}
func handleListHeaders ( dw io . Writer , c * textproto . Conn ) error { err := c . PrintfLine ( " " ) if err != nil { return err } _ , err = fmt . Fprintln ( dw , " " ) ; if err != nil { return err } _ , err = fmt . Fprintln ( dw , " " ) ; if err != nil { return err } _ , err = fmt . Fprintln ( dw , " " ) ; if err != nil { return err } return nil }
Indicating capability: HDR
Indicating capability : HDR
// This is NOT a performance critical function