## Summary One transport opens every connection, and it refuses anything the driver did not declare. ## Requirements - **REQ-NET-001** The transport MUST be the only code that opens a network connection. - **REQ-NET-002** It MUST refuse URLs whose scheme, host, and port are not in the account's endpoint policy before resolving a name. - **REQ-NET-003** It MUST refuse URLs with user info, fragments, backslashes, whitespace, control or non-ASCII bytes, or non-numeric ports. - **REQ-NET-004** It MUST verify certificates and host names, refuse redirects, and enforce connect and total timeouts and a response size cap. - **REQ-NET-005** Endpoint policies MUST be built from fixed tables in code and validated account fields, never from a setting. - **REQ-NET-006** Retries MUST use jittered exponential backoff, honor `Retry-After`, and never retry authentication or permission failures. ## Acceptance criteria - [ ] Transport tests against the local HTTPS server for every behavior. - [ ] A refused URL opens no socket. ## References - [Plan: HTTP transport](https://github.com/somethingwithproof/plugin_cloud/blob/main/docs/PLAN.md#http-transport) ## Dependencies - Part of #2. - Blocked by #9.
Activity
fix: address review findings on the M2 foundation
somethingwithproof commentedon Nov 15, 2026
Done in #81 (merged as b3730b1).