Skip to content

Commit

Permalink
remove xml header from requests #89 (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
neilliu89 authored Jul 22, 2022
1 parent bb51e84 commit d8ed347
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions netconf/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8ed347

Please sign in to comment.