Skip to content

artemis: use gluetool.utils.requests context manager

Miroslav Vadkerti requested to merge requests-use-gluetool into main

Make sure we use the gluetool.utils.requests context manager to mitigate the requests module logging outside of our logger.

Removes these messages from pipeline.log:

header: server: gunicorn
header: date: Tue, 11 Jun 2024 06:32:04 GMT
header: content-type: application/json; charset=utf-8
header: content-length: 2363
header: set-cookie: 9d932d3aecfd2817041d77ca1c1f78d3=99a907e94423a45c014ab5f3a43d19c1; path=/; HttpOnly

See for example: https://artifacts.osci.redhat.com/testing-farm/1582cc25-202d-43db-b8b7-e5ff0cbcac32/pipeline.log

Signed-off-by: Miroslav Vadkerti mvadkert@redhat.com

Merge request reports