diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-09 09:24:34 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-09 09:24:34 +0200 |
| commit | 38996c0b24ba19974e9c192bd5726ad3e9bc4dd1 (patch) | |
| tree | ad320c389439f5ca5df974c351cf6c4021e4f626 /docs/plans | |
| parent | 367bdb96caaec23b7f895214ddf9ab6dd6b86e34 (diff) | |
| download | abusectl-38996c0b24ba19974e9c192bd5726ad3e9bc4dd1.tar.gz abusectl-38996c0b24ba19974e9c192bd5726ad3e9bc4dd1.zip | |
docs: correct the Accept header and the dependency claim
The spec named a strict Accept: application/rdap+json while the plan, and
so the code, sends application/rdap+json with application/json at q=0.9.
A spec review caught the disagreement. The wider header is the right
behaviour, since some registries serve plain application/json and a
strict header would lose a contact that was published, so the spec moves
to match the code and now records why.
Both documents also claimed requirements.txt stays empty. There is no
requirements.txt in this repository and there never has been, so the
claim was true only vacuously. They now say the tool declares no
dependencies, which is the thing actually being promised.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wrfqr2xqQfhtXCscU7zrdz
Diffstat (limited to 'docs/plans')
| -rw-r--r-- | docs/plans/2026-09-09-contacts.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/plans/2026-09-09-contacts.md b/docs/plans/2026-09-09-contacts.md index 244fdce..d6bb54d 100644 --- a/docs/plans/2026-09-09-contacts.md +++ b/docs/plans/2026-09-09-contacts.md @@ -6,7 +6,7 @@ **Architecture:** Two modules. `rdap.py` is the protocol (IANA bootstrap fetch and cache, server selection, query, jCard extraction). `contacts.py` is the policy (which indicators resolve, how hosts fold, what reaches the manifest). Both take a `fetch` callable as an argument, defaulting to a real urllib transport, so the entire test suite keeps passing with sockets raising. -**Tech Stack:** Python 3.11+ standard library only. `urllib.request`, `ipaddress`, `json`, `email.utils`. No new dependencies; `requirements.txt` stays empty. +**Tech Stack:** Python 3.11+ standard library only. `urllib.request`, `ipaddress`, `json`, `email.utils`. No new dependencies, and no dependency file in the repository. **Read first:** `docs/specs/2026-09-09-contacts.md`. It states a FOURTH non-negotiable property, that a query carries a bare host or IP and never a URL, and every task below that touches a query exists to hold that property. |
