py311-forcediphttpsadapter
1.1.0_1Use IP address when connecting via SSL
This module implements a set of requests TransportAdapter, PoolManager, ConnectionPool and HTTPSConnection with one goal only: to use a specific IP address when connecting via SSL to a web service without running into SNI trouble. The usual technique to force an IP address on an HTTP connection with Requests is (assuming I want http://example.com/some/path on IP 1.2.3.4): requests.get("http://1.2.3.4/some/path", headers={'Host': 'example.com'}) This is useful if I want to specifically test how 1.2.3.4 is responding; for instance, if example.com is DNS round-robined to several IP addresses and I want to hit one of them specifically.
Origin: www/py-forcediphttpsadapter
Category: www
Size: 28.3KiB
License: MIT
Maintainer: sunpoet@FreeBSD.org
Dependencies: 3 packages
Required by: 1 packages
$
pkg install py311-forcediphttpsadapterDependencies (3)
Required By (1 packages)
More in www
py311-requests2.32.5
Python HTTP for Humansp5-libwww6.81
Perl5 library for WWW accessp5-HTML-Parser3.83
Perl5 module for parsing HTML documentsphp84-session8.4.16
The session shared extension for phpp5-Catalyst-Runtime5.90132_1
Elegant MVC Web Application Framework (Runtime)py311-django424.2.29
High-level Python Web Frameworkapache242.4.66
Version 2.4.x of Apache web serverp5-HTTP-Message7.01
Representation of HTTP style messagesp5-Template-Toolkit3.102
Extensible template processing systemp5-Plack1.0051
Perl extension of PSGI reference implementation and utilities