go-json-rest
go-json-rest copied to clipboard
Request body discard added
Good day to you! We have couple of errors in prod because of DecodeJsonPayload doesn`t discard the remaining response body data in 100% cases. It should be done in GO 1.5+
Nice!
Hi!
Thanks for your Pull Request! And sorry for my very slow response. Do you have any reference to this bug I could add in comment ? Is it the way it was fixed in go1.5 ? Or do you think that fix should be enabled only for some version of Go by checking runtime.Version() ?
Antoine