Don't assume the response has a content-type header

This will happen when the connection is reset, for example.