Describe the bug
Method.get's docstring explains its own case-sensitivity by contrast with FTP, and cites the wrong section of RFC 959 for the contrast:
pcapkit/const/http/method.py:268 pcapkit/vendor/http/method.py:173
case-insensitive because :rfc:`959#section-4` says FTP
command codes are not.
RFC 959 §4 is FILE TRANSFER FUNCTIONS and contains no case-sensitivity language at all. The statement is in §5.3 COMMANDS:
The command codes are four or fewer alphabetic characters. Upper and lower case alphabetic characters are to be treated identically.
Reproduction
$ curl -s -A 'Mozilla/5.0' -L https://www.rfc-editor.org/rfc/rfc959.html -o rfc959.html
$ grep -n -i 'upper and lower' rfc959.html
2469: Upper and lower case alphabetic characters are to be treated
$ grep -n 'id="section-4"\|id="section-5"\|id="section-6"' rfc959.html
1329:...id="section-4"...4. FILE TRANSFER FUNCTIONS
2333:...id="section-5"...5. DECLARATIVE SPECIFICATIONS
2920:...id="section-6"...6. STATE DIAGRAMS
$ grep -n '5\.3\. COMMANDS' rfc959.html
2458: 5.3. COMMANDS
Line 2469 sits between section-5 (2333) and section-6 (2920), so it is inside §5, not §4. That is the only such sentence in the document — note it wraps across lines 2469-2470, so a single-line grep for treated identically finds nothing.
Expected behavior
:rfc:959#section-5``, which is the finest anchor RFC 959 renders (only section-1..`section-8` exist, per #944). Alternatives: `#page-45`, where §5.3 begins, or leave `#section-4` and reword the prose to stop attributing the claim to a section that does not make it.
Notes
System information
pcapkit commit 210bdb419, Python 3.14.7, CPython, Linux.
Describe the bug
Method.get's docstring explains its own case-sensitivity by contrast with FTP, and cites the wrong section of RFC 959 for the contrast:RFC 959 §4 is FILE TRANSFER FUNCTIONS and contains no case-sensitivity language at all. The statement is in §5.3 COMMANDS:
Reproduction
Line 2469 sits between
section-5(2333) andsection-6(2920), so it is inside §5, not §4. That is the only such sentence in the document — note it wraps across lines 2469-2470, so a single-line grep fortreated identicallyfinds nothing.Expected behavior
:rfc:959#section-5``, which is the finest anchor RFC 959 renders (onlysection-1..`section-8` exist, per #944). Alternatives: `#page-45`, where §5.3 begins, or leave `#section-4` and reword the prose to stop attributing the claim to a section that does not make it.Notes
959#section-4.1citations name an anchor RFC 959 does not have #944, which is about the anchor being dead. This is the anchor being live and wrong. docs(const,vendor): six :rfc:959#section-4.1citations name an anchor RFC 959 does not have #944's ruling ("Suresection-4is good.") was given before this was known, and docs: retarget every dead :rfc:959sub-section anchor (#944) #946 applies it to all six sites as ruled rather than widening scope — so this site currently cites a section that does not say what the docstring says it says.pcapkit/{const,vendor}/ftp/command.pypairs are fine: §4 does contain §4.1 FTP COMMANDS, which supports "type of kind of command".959sub-section anchor (#944) #946's cross-review finding. Template and generated copy, so both halves are hand-edited; no crawl or regeneration needed.#946's newKNOWN_DEAD_ANCHORSdenylist cannot catch this class — the anchor exists.System information
pcapkitcommit210bdb419, Python 3.14.7, CPython, Linux.