Instead of defining it with a global variable we could just pass it to get_uri_response.
Setting a global variable in a function makes only an option if it's really necessary.
Since it makes debugging and analysing the code unnecessary more difficult. It could be set anywhere in that file.
Instead of defining it with a global variable we could just pass it to
get_uri_response
.Setting a global variable in a function makes only an option if it's really necessary. Since it makes debugging and analysing the code unnecessary more difficult. It could be set anywhere in that file.
https://github.com/4teamwork/ftw.linkchecker/pull/42#discussion_r253634424