mirror of
https://github.com/square/okhttp.git
synced 2025-11-26 06:43:09 +03:00
The documentation for org.apache.http.HttpEntity::getContentLength() states that a negative number will be returned when the length of the content is not known.
OkHttp Apache HttpClient Implementation
This module is an implementation of the Apache HttpClient interface that is backed by OkHttp.
Warning: Many core features of Apache HTTP client are not implemented by this API. This includes the keep-alive strategy, cookie store, credentials provider, route planner and others.