@@ -32,7 +32,7 @@ def __init__(self, timeout=DEFAULT_TIMEOUT):
3232
3333 :param timeout: (optional) How long to wait for the server
3434 to send data before giving up, as a float,
35- or a (connect timeout, readtimeout ) float tuple.
35+ or a (connect timeout, read timeout ) float tuple.
3636 Default is :py:attr:`DEFAULT_TIMEOUT`
3737 :type timeout: float | tuple(float, float)
3838 :rtype: T <= :py:class:`HttpResponse`
@@ -50,7 +50,7 @@ def get(self, url, headers=None, params=None, stream=False, timeout=None):
5050 :param bool stream: (optional) get content as stream
5151 :param timeout: (optional), How long to wait for the server
5252 to send data before giving up, as a float,
53- or a (connect timeout, readtimeout ) float tuple.
53+ or a (connect timeout, read timeout ) float tuple.
5454 Default is :py:attr:`self.timeout`
5555 :type timeout: float | tuple(float, float)
5656 :rtype: T <= :py:class:`HttpResponse`
@@ -67,7 +67,7 @@ def post(self, url, headers=None, data=None, timeout=None):
6767 :param data: (optional) Dictionary, bytes, or file-like object to send in the body
6868 :param timeout: (optional), How long to wait for the server
6969 to send data before giving up, as a float,
70- or a (connect timeout, readtimeout ) float tuple.
70+ or a (connect timeout, read timeout ) float tuple.
7171 Default is :py:attr:`self.timeout`
7272 :type timeout: float | tuple(float, float)
7373 :rtype: T <= :py:class:`HttpResponse`
@@ -84,7 +84,7 @@ def __init__(self, timeout=HttpClient.DEFAULT_TIMEOUT):
8484
8585 :param timeout: (optional) How long to wait for the server
8686 to send data before giving up, as a float,
87- or a (connect timeout, readtimeout ) float tuple.
87+ or a (connect timeout, read timeout ) float tuple.
8888 Default is :py:attr:`DEFAULT_TIMEOUT`
8989 :type timeout: float | tuple(float, float)
9090 """
@@ -99,7 +99,7 @@ def get(self, url, headers=None, params=None, stream=False, timeout=None):
9999 :param bool stream: (optional) get content as stream
100100 :param timeout: (optional), How long to wait for the server
101101 to send data before giving up, as a float,
102- or a (connect timeout, readtimeout ) float tuple.
102+ or a (connect timeout, read timeout ) float tuple.
103103 Default is :py:attr:`self.timeout`
104104 :type timeout: float | tuple(float, float)
105105 :rtype: :py:class:`RequestsHttpResponse`
@@ -122,7 +122,7 @@ def post(self, url, headers=None, data=None, timeout=None):
122122 :param data: (optional) Dictionary, bytes, or file-like object to send in the body
123123 :param timeout: (optional), How long to wait for the server
124124 to send data before giving up, as a float,
125- or a (connect timeout, readtimeout ) float tuple.
125+ or a (connect timeout, read timeout ) float tuple.
126126 Default is :py:attr:`self.timeout`
127127 :type timeout: float | tuple(float, float)
128128 :rtype: :py:class:`RequestsHttpResponse`
0 commit comments