Apparently we send a Content-Length header on a 204 response: https://play.golang.org/p/bxy_rEBy-s A 204 can't have a body anyway, so the Content-Length is useless and misleading. (It might be a protocol violation? Haven't checked.)