Remove Content-Type header from empty responses. Fixes #1196