Skip to content

Commit 7f00c63

Browse files
committed
fix(doc): change True and False to ${True} and ${False}
1 parent b70df43 commit 7f00c63

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/RequestsLibrary.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/RequestsLibrary/RequestsKeywords.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ def session_less_get(self, url, params=None,
177177
| ``file-tuple`` | can be a 2-tuple ``('filename', fileobj)``, 3-tuple ``('filename', fileobj, 'content_type')`` or a 4-tuple ``('filename', fileobj, 'content_type', custom_headers)``, where ``'content-type'`` is a string defining the content type of the given file and ``custom_headers`` a dict-like object containing additional headers to add for the file. |
178178
| ``auth`` | Auth tuple to enable Basic/Digest/Custom HTTP Auth. |
179179
| ``timeout`` | How many seconds to wait for the server to send data before giving up, as a float, or a ``(connect timeout, read timeout)`` tuple. |
180-
| ``allow_redirects`` | Boolean. Enable/disable GET/OPTIONS/POST/PUT/PATCH/DELETE/HEAD redirection. Defaults to ``True``. |
180+
| ``allow_redirects`` | Boolean. Enable/disable GET/OPTIONS/POST/PUT/PATCH/DELETE/HEAD redirection. Defaults to ``${True}``. |
181181
| ``proxies`` | Dictionary mapping protocol or protocol and host to the URL of the proxy (e.g. {'http': 'foo.bar:3128', 'http://host.name': 'foo.bar:4012'}) |
182-
| ``verify`` | Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use. Defaults to ``True``. Warning: if a session has been created with ``verify=False`` any other requests will not verify the SSL certificate. |
183-
| ``stream`` | if ``False``, the response content will be immediately downloaded. |
182+
| ``verify`` | Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use. Defaults to ``${True}``. Warning: if a session has been created with ``verify=${False}`` any other requests will not verify the SSL certificate. |
183+
| ``stream`` | if ``${False}``, the response content will be immediately downloaded. |
184184
| ``cert`` | if String, path to ssl client cert file (.pem). If Tuple, ('cert', 'key') pair. |
185185
186186
For more updated and complete information verify the official Requests api documentation:

0 commit comments

Comments
 (0)