Skip to content

Commit b164ff4

Browse files
Nestor Acuna-Blancolucagiove
Nestor Acuna-Blanco
authored andcommitted
doc: logging and authentication
Documents the credentials leakage fix.
1 parent 233ff7c commit b164ff4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

doc/RequestsLibrary.html

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

src/RequestsLibrary/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ class RequestsLibrary(RequestsOnSessionKeywords):
116116
- https://2.python-requests.org/en/master/user/quickstart/#post-a-multipart-encoded-file
117117
- https://2.python-requests.org/en/master/user/advanced/#post-multiple-multipart-encoded-files
118118
119+
= Logging and authentication =
120+
121+
Every request logs headers. This implies that in the case of basic
122+
authentication, the password could be exposed in the Robot Framework
123+
output files. By default, the value of ``Authorization`` is masked,
124+
expect when the log level is set to ``TRACE`` or ``DEBUG``.
125+
119126
"""
120127

121128
__version__ = VERSION

0 commit comments

Comments
 (0)