Improved error code presentation, restore Content-Type