From d8ed34732ef2627c7574003e1aff989eaebb131f Mon Sep 17 00:00:00 2001 From: neilliu89 Date: Sat, 23 Jul 2022 04:14:18 +0800 Subject: [PATCH] remove xml header from requests #89 (#97) --- netconf/session.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/netconf/session.go b/netconf/session.go index 5328db1..600835b 100644 --- a/netconf/session.go +++ b/netconf/session.go @@ -37,9 +37,6 @@ func (s *Session) Exec(methods ...RPCMethod) (*RPCReply, error) { return nil, err } - header := []byte(xml.Header) - request = append(header, request...) - err = s.Transport.Send(request) if err != nil { return nil, err