{ "name": "py-urllib3", "version": "2.8.0", "summary": "urllib3: an HTTP client with connection pools, retries and TLS checks (Python module)", "category": "library", "license": "MIT", "homepage": "https://github.com/urllib3/urllib3", "source": { "url": "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl", "sha256": "0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3" }, "watch": { "kind": "pypi", "package": "urllib3" }, "deps": [ "python" ], "env_packages": [], "static": false, "nss": false, "check": "t=$(mktemp -d) && echo bvs-urllib3 > \"$t/i.html\" && W=$(free_port) && { bin/python3 -m http.server -b 127.0.0.1 -d \"$t\" \"$W\" > /dev/null 2>&1 < /dev/null & echo $! > \"$t/pid\"; } && wait_port \"$W\" && bin/python3 -c 'import sys, urllib3; r = urllib3.PoolManager(retries=urllib3.Retry(2)).request(\"GET\", \"http://127.0.0.1:\" + sys.argv[1] + \"/i.html\"); print(r.status, r.data.decode().strip())' \"$W\" | has -x '200 bvs-urllib3' && echo 'urllib3 2.8.0: a local page fetched through a connection pool'; r=$?; kill \"$(cat \"$t/pid\")\" 2> /dev/null; rm -rf -- \"${t:?}\"; exit $r" }