Ensure that the server provides proper HTTP headers