To be consistent with HttpClient