mirror of https://github.com/golang/go.git
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.go | ||
| jsonrpc2_test.go | ||
| messages.go | ||
| serve.go | ||
| serve_test.go | ||
| stream.go | ||
| wire.go | ||
| wire_test.go | ||