Skip to content

docs(conventions): Method._missing_ folds case against RFC 9110 §9.1, and registry-protocol.rst records neither the fold nor the get/constructor split #2552

Open

Description

@JarryShaw

From the 2026-11-01 conventions audit, re-verified on 73add05a3. registry-protocol.rst, "RFC-Directed Case Sensitivity": a case fold has to cite the RFC or IANA registry that makes the values case-insensitive, else it is a defect. The Method row says get does not fold (#896); the note on a fold outside any get names only esp._resolve.

Decision needed: does the constructor fold stay?

  1. Keep it: record the get/constructor split on the page with its basis, and correct the docstring's attribution.
  2. Drop it: remove the fold from the _missing_ template in pcapkit/vendor/http/method.py and regenerate (observable: Method('get') stops resolving to GET).
    Recommendation: 1, because fix(const): Method('baseline-control') mints an unregistered member, not BASELINE_CONTROL #2284 asked for Method('baseline-control') to resolve to BASELINE_CONTROL and fix(const): find hyphenated HTTP methods by value in Method._missing_ (#2284) #2351 did it through this fold; dropping it reverses that.
    Fix: reword "to mint" either way; option 1 edits registry-protocol.rst, which feat(registry): foundation.registry wrappers for IPX and SCTP sub-maps; record the convention (#2511) #2521 also edits.

Activity

  1. added
    docsPull requests that change documentation only (docs: subject prefix)
    needs: decisionWaiting on the maintainer to decide — not blocked by other work
    on Nov 1, 2026
  2. moved this to Needs decision in PyPCAPKiton Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsPull requests that change documentation only (docs: subject prefix)needs: decisionWaiting on the maintainer to decide — not blocked by other work

    Projects

    • Status
      Needs decision

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions