Moving back to requests
urllib3
was used to get increased performance, but the major flow of warnings in the logs probably decrease performance. Going back to the more simple requests
lib. I will not try anymore to massively increase the performance since PyOrthanc has not the purpose to have extreme performance. For that, favour a program coded in Golang or something similar.