Fixed EncodeJSONResponse body writing
EncodeJSONResponse is not writing body for status codes 100-199, 204, 304 according to https://datatracker.ietf.org/doc/html/rfc7230#section-3.3
Fixes #1291
Eh, that RFC is more of a suggestion than a requirement :)
@peterbourgon I'm a bit confused. I reported #1291 a while ago. In the response there you hinted that this should be fixed, as the EncodeJSONResponse is broken when the user implements a response with a 304 StatusCode.
Should I include just the 304 for that fix, or why you closed this one exactly?
Huh, me too apparently.
@peterbourgon anything for me to do here? I guess the CI / Build issues are unrelated to this PR.