mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
dcbf2a9ed1
The spec states error data may be omitted. It is currently always encoded as null, despite having no usage. Omit the field if empty, and add a test to prove the behaviour. Fixes golang/go#39736 Change-Id: Icdb39409010f3a42f84d2372c2061e4bc7cc198e Reviewed-on: https://go-review.googlesource.com/c/tools/+/239059 Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
servertest | ||
conn.go | ||
handler.go | ||
jsonrpc2_test.go | ||
jsonrpc2.go | ||
messages.go | ||
serve_test.go | ||
serve.go | ||
stream.go | ||
wire_test.go | ||
wire.go |