Port details on branch 2022Q2 |
- py-forcediphttpsadapter Use IP address when connecting via SSL
- 1.1.0 www =0 1.1.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2020-08-30 07:16:39
- Last Update: 2023-08-21 17:05:11
- Commit Hash: f1158b8
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/Roadmaster/forcediphttpsadapter
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}forcediphttpsadapter>0:www/py-forcediphttpsadapter@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-forcediphttpsadapter/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-forcediphttpsadapter
- pkg install py39-forcediphttpsadapter
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-forcediphttpsadapter listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-forcediphttpsadapter
- Package flavors (<flavor>: <package>)
- py39: py39-forcediphttpsadapter
- distinfo:
- TIMESTAMP = 1692211825
SHA256 (forcediphttpsadapter-1.1.0.tar.gz) = 0d224cf6e8e50eb788c9f5994a7afa6d389bac6dbe540b7dfd77a32590ad0153
SIZE (forcediphttpsadapter-1.1.0.tar.gz) = 4794
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-packaging>=0 : devel/py-packaging@py39
- py39-requests>=0 : www/py-requests@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- dns/py-dns-crawler
Configuration Options:
- No options to configure
- Options name:
- www_py-forcediphttpsadapter
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|