abcxyz / jvs

Apache License 2.0
8 stars 0 forks source link

Use the renderer for JSON responses #226

Closed sethvargo closed 1 year ago

sethvargo commented 1 year ago

This will ensure consistent responses and content types. There's one place where we still write directly to the http.ResponseWriter, and that's because the cacher caches the rendered JSON response.

Closes https://github.com/abcxyz/jvs/issues/224