Fix getHttpResponseCode str/int equality mismatch