Skip to content

Commit 96c0404

Browse files
authored
improve(http): disable warnings for unverified requests (#308)
2 parents 1874755 + 3aaee3b commit 96c0404

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mkdocs_rss_plugin/util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
# 3rd party
2020
import markdown
21+
import urllib3
2122
from git import (
2223
GitCommandError,
2324
GitCommandNotFound,
@@ -51,6 +52,7 @@
5152
# ################################
5253

5354
logger = get_plugin_logger(MKDOCS_LOGGER_NAME)
55+
urllib3.disable_warnings() # disable warnings for unverified requests
5456

5557
# ############################################################################
5658
# ########## Classes #############

0 commit comments

Comments
 (0)