Document url and body parameters for ConnectionPool.urlopen()
MODIFY
src/urllib3/connectionpool.py
src/urllib3/connectionpool.py
@@ -551,10 +551,12 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
:param method:
HTTP request method (such as GET, POST, PUT, etc.)
+ :param url:
+ The URL to perform the request on.
+
:param body:
- Data to send in the request body (useful for creating
- POST requests, see HTTPConnectionPool.post_url for
- more convenience).
+ Data to send in the request body, either :class:`str`, :class:`bytes`,
+ an iterable of :class:`str`/:class:`bytes`, or a file-like object.
:param headers:
Dictionary of custom headers to send, such as User-Agent,

Document url and body parameters for ConnectionPool.urlopen()