๐Ÿ“ฆ zanieb / uv-insecure-host-mre

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/zanieb/uv-insecure-host-mre.git
HTTPS git clone https://github.com/zanieb/uv-insecure-host-mre.git
SSH git clone git@github.com:zanieb/uv-insecure-host-mre.git
CLI gh repo clone zanieb/uv-insecure-host-mre
Zanie Blue Zanie Blue Initial commit 3dd5a24 5 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ Cargo.toml
๐Ÿ“„ README.md
๐Ÿ“„ README.md

uv insecure host mre

Minimal reproducible example for uv issue #6819.

Usage

cargo run <URL>

For example:

$  cargo run https://self-signed.badssl.com/
Testing URL: https://self-signed.badssl.com/
Host: self-signed.badssl.com

Configuration: No trusted hosts
  SSL verification disabled: false
  โœ— Request failed: error sending request for url (https://self-signed.badssl.com/)

Configuration: Wildcard (*)
  Trusted host spec: Wildcard
  SSL verification disabled: true
  โœ“ Request succeeded! Status: 200 OK

Configuration: Host only (self-signed.badssl.com)
  Trusted host spec: Host { scheme: None, host: "self-signed.badssl.com", port: None }
  SSL verification disabled: true
  โœ“ Request succeeded! Status: 200 OK

Configuration: With scheme (https://self-signed.badssl.com)
  Trusted host spec: Host { scheme: Some("https"), host: "self-signed.badssl.com", port: None }
  SSL verification disabled: true
  โœ“ Request succeeded! Status: 200 OK