{
  "schema_version": 1,
  "status": "selected_article_blocks_executed",
  "guide_id": 842,
  "guide_url": "https://mexela.com/blog/python-requests-proxy/",
  "executed_date": "2026-10-20",
  "runtime": "Python 3.12.14 / Requests 2.34.2",
  "source_body_sha256": "ab038c0bb88ae0c7b4c92c36c9cd6d84c30cd57b14fcbbfbb8f508da60edeb2a",
  "code_fingerprint": {
    "blocks": 7,
    "sha256": "4d9975d8ff515028a81bfcd9c455469898ecde903d437ebaac481b67d9c25411"
  },
  "checks_passed": 6,
  "checks": [
    {
      "name": "Requests article block 1 authenticated route",
      "passed": true,
      "source_block_indices": [
        1
      ],
      "adaptations": [],
      "command": [
        "[bundled-python]/python.exe",
        "-B",
        "-c",
        "import sys,json,runpy;sys.path[:0]=json.loads(sys.argv[1]);runpy.run_path(sys.argv[2],run_name=\"__main__\")",
        "[\"./reports/six-guide-runtime-20261012/aiohappyeyeballs-2.7.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiohttp-3.14.5-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiosignal-1.4.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/anyio-4.15.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/attrs-26.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/certifi-2026.7.22-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/charset_normalizer-3.5.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/frozenlist-1.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/h11-0.16.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpcore-1.0.9-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpx-0.28.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/idna-3.20-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/multidict-7.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/propcache-0.5.4-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/requests-2.34.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/sniffio-1.3.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/socksio-1.0.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/urllib3-2.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/yarl-1.25.1-py3-none-any.whl\"]",
        ".\\reports\\seo-five-guide-execution-20261020\\requests-block-1.py"
      ],
      "result": {
        "exit_code": 0,
        "proxy_upstreams": 1,
        "proxy_connect_attempts": null,
        "destination_requests": 1,
        "denied": 0,
        "elapsed_ms": 1001,
        "output": "200",
        "error_type": null
      },
      "executed_program_sha256": "ed9f731e02368798101f07528de0abff58094ef513d095c5f4e4b4b4dfa167ed"
    },
    {
      "name": "Requests article block 2 authenticated route",
      "passed": true,
      "source_block_indices": [
        2
      ],
      "adaptations": [],
      "command": [
        "[bundled-python]/python.exe",
        "-B",
        "-c",
        "import sys,json,runpy;sys.path[:0]=json.loads(sys.argv[1]);runpy.run_path(sys.argv[2],run_name=\"__main__\")",
        "[\"./reports/six-guide-runtime-20261012/aiohappyeyeballs-2.7.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiohttp-3.14.5-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiosignal-1.4.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/anyio-4.15.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/attrs-26.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/certifi-2026.7.22-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/charset_normalizer-3.5.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/frozenlist-1.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/h11-0.16.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpcore-1.0.9-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpx-0.28.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/idna-3.20-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/multidict-7.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/propcache-0.5.4-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/requests-2.34.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/sniffio-1.3.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/socksio-1.0.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/urllib3-2.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/yarl-1.25.1-py3-none-any.whl\"]",
        ".\\reports\\seo-five-guide-execution-20261020\\requests-block-2.py"
      ],
      "result": {
        "exit_code": 0,
        "proxy_upstreams": 2,
        "proxy_connect_attempts": null,
        "destination_requests": 2,
        "denied": 0,
        "elapsed_ms": 998,
        "output": "[loopback-http-target] 200 0.005817\r\n[loopback-https-target] 200 0.020397",
        "error_type": null
      },
      "executed_program_sha256": "c0965351cbee8ba362cbacb78a8ba43684770e540e6f826150ad78c539448cb0"
    },
    {
      "name": "Requests article block 3 authenticated route",
      "passed": true,
      "source_block_indices": [
        3
      ],
      "adaptations": [],
      "command": [
        "[bundled-python]/python.exe",
        "-B",
        "-c",
        "import sys,json,runpy;sys.path[:0]=json.loads(sys.argv[1]);runpy.run_path(sys.argv[2],run_name=\"__main__\")",
        "[\"./reports/six-guide-runtime-20261012/aiohappyeyeballs-2.7.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiohttp-3.14.5-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiosignal-1.4.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/anyio-4.15.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/attrs-26.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/certifi-2026.7.22-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/charset_normalizer-3.5.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/frozenlist-1.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/h11-0.16.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpcore-1.0.9-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpx-0.28.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/idna-3.20-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/multidict-7.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/propcache-0.5.4-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/requests-2.34.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/sniffio-1.3.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/socksio-1.0.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/urllib3-2.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/yarl-1.25.1-py3-none-any.whl\"]",
        ".\\reports\\seo-five-guide-execution-20261020\\requests-block-3.py"
      ],
      "result": {
        "exit_code": 0,
        "proxy_upstreams": 1,
        "proxy_connect_attempts": null,
        "destination_requests": 1,
        "denied": 0,
        "elapsed_ms": 1052,
        "output": "",
        "error_type": null
      },
      "executed_program_sha256": "b119134822deb4a9fe1ce6ca93e0f5a9c9d98b97a816cc4dee9f7310b1efb098"
    },
    {
      "name": "Requests article block 5 authenticated route",
      "passed": true,
      "source_block_indices": [
        5
      ],
      "adaptations": [
        "Context-only fragment supplied Session/proxies from previous guide blocks; reserved URL replaced by environment-selected loopback target."
      ],
      "command": [
        "[bundled-python]/python.exe",
        "-B",
        "-c",
        "import sys,json,runpy;sys.path[:0]=json.loads(sys.argv[1]);runpy.run_path(sys.argv[2],run_name=\"__main__\")",
        "[\"./reports/six-guide-runtime-20261012/aiohappyeyeballs-2.7.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiohttp-3.14.5-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiosignal-1.4.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/anyio-4.15.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/attrs-26.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/certifi-2026.7.22-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/charset_normalizer-3.5.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/frozenlist-1.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/h11-0.16.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpcore-1.0.9-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpx-0.28.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/idna-3.20-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/multidict-7.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/propcache-0.5.4-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/requests-2.34.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/sniffio-1.3.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/socksio-1.0.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/urllib3-2.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/yarl-1.25.1-py3-none-any.whl\"]",
        ".\\reports\\seo-five-guide-execution-20261020\\requests-block-5.py"
      ],
      "result": {
        "exit_code": 0,
        "proxy_upstreams": 1,
        "proxy_connect_attempts": null,
        "destination_requests": 1,
        "denied": 0,
        "elapsed_ms": 1049,
        "output": "",
        "error_type": null
      },
      "executed_program_sha256": "b31a91b1a0b9d54574624308beb3b11d991adab3e8a553335d19fabef721480f"
    },
    {
      "name": "Requests default TLS rejects untrusted fixture",
      "passed": true,
      "source_block_indices": [
        1
      ],
      "adaptations": [
        "No isolated CA supplied."
      ],
      "command": [
        "[bundled-python]/python.exe",
        "-B",
        "-c",
        "import sys,json,runpy;sys.path[:0]=json.loads(sys.argv[1]);runpy.run_path(sys.argv[2],run_name=\"__main__\")",
        "[\"./reports/six-guide-runtime-20261012/aiohappyeyeballs-2.7.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiohttp-3.14.5-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiosignal-1.4.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/anyio-4.15.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/attrs-26.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/certifi-2026.7.22-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/charset_normalizer-3.5.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/frozenlist-1.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/h11-0.16.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpcore-1.0.9-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpx-0.28.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/idna-3.20-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/multidict-7.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/propcache-0.5.4-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/requests-2.34.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/sniffio-1.3.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/socksio-1.0.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/urllib3-2.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/yarl-1.25.1-py3-none-any.whl\"]",
        ".\\reports\\seo-five-guide-execution-20261020\\requests-block-1.py"
      ],
      "result": {
        "exit_code": 1,
        "proxy_upstreams": 1,
        "proxy_connect_attempts": null,
        "destination_requests": 0,
        "denied": 0,
        "elapsed_ms": 1057,
        "output": null,
        "error_type": "certificate_rejected"
      },
      "executed_program_sha256": "ed9f731e02368798101f07528de0abff58094ef513d095c5f4e4b4b4dfa167ed"
    },
    {
      "name": "Requests wrong CONNECT credentials never reach destination",
      "passed": true,
      "source_block_indices": [
        1
      ],
      "adaptations": [
        "Fixture password intentionally incorrect."
      ],
      "command": [
        "[bundled-python]/python.exe",
        "-B",
        "-c",
        "import sys,json,runpy;sys.path[:0]=json.loads(sys.argv[1]);runpy.run_path(sys.argv[2],run_name=\"__main__\")",
        "[\"./reports/six-guide-runtime-20261012/aiohappyeyeballs-2.7.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiohttp-3.14.5-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/aiosignal-1.4.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/anyio-4.15.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/attrs-26.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/certifi-2026.7.22-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/charset_normalizer-3.5.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/frozenlist-1.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/h11-0.16.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpcore-1.0.9-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/httpx-0.28.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/idna-3.20-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/multidict-7.1.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/propcache-0.5.4-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/requests-2.34.2-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/sniffio-1.3.1-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/socksio-1.0.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/urllib3-2.8.0-py3-none-any.whl\",\"./reports/six-guide-runtime-20261012/yarl-1.25.1-py3-none-any.whl\"]",
        ".\\reports\\seo-five-guide-execution-20261020\\requests-block-1.py"
      ],
      "result": {
        "exit_code": 1,
        "proxy_upstreams": 0,
        "proxy_connect_attempts": null,
        "destination_requests": 0,
        "denied": 1,
        "elapsed_ms": 968,
        "output": null,
        "error_type": "proxy407"
      },
      "executed_program_sha256": "ed9f731e02368798101f07528de0abff58094ef513d095c5f4e4b4b4dfa167ed"
    }
  ],
  "findings": "Article blocks 1, 2, 3 and the context-dependent request fragment in block 5 ran against the authenticated local proxy. HTTPS succeeded with a disposable CA supplied through REQUESTS_CA_BUNDLE. The same request rejected the untrusted certificate and wrong CONNECT credentials without an HTTP request reaching the destination.",
  "limits": [
    "The Requests SOCKS example, downloadable starter command and printed ZIP checksum were not executed in this run. The context-dependent fragment was supplied with Session/proxies from the preceding examples. This is selected-block evidence, not a complete-guide certification.",
    "Local owned fixtures only. No production or commercial proxy requests, no public exit/geography/anonymity/speed/uptime certification, and no SEO or conversion effect inferred.",
    "Commands are the real invocation structure with local machine roots replaced; cached dependency locations and supplied environment values are intentionally not published.",
    "This dated receipt is an execution observation, not a claim that tested versions are the latest releases."
  ],
  "primary_documentation": "https://requests.readthedocs.io/en/latest/user/advanced/#proxies"
}
