check for `response['Content-Type']`, the order of headers in an HTTP response isn't guaranteed (or important).