Skip to content

Match additionalOperations method names case-sensitively - #247

Merged
geemus merged 2 commits into
ota42y:masterfrom
treadinc:additional-operations-exact-case
Nov 6, 2026
Merged

geemus merged 2 commits into
ota42y:masterfrom
treadinc:additional-operations-exact-case

Conversation

@modosc

@modosc modosc commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

match additionalOperations keys exactly instead of falling back to a case-insensitive match. the 3.2 spec says keys use the same capitalization as the request method, and RFC 9110 §9.1 makes method names case-sensitive, so PURGE and purge are different operations.

  • request_operation("purge", path) no longer finds a PURGE entry
  • standard methods still match their fixed fields in any case (GET → get)

raised in interagent/committee#499 review.

@modosc
modosc force-pushed the additional-operations-exact-case branch from 1a8c436 to 45bc8a6 Compare November 5, 2026 17:25
@modosc
modosc force-pushed the additional-operations-exact-case branch from 45bc8a6 to 20249db Compare November 5, 2026 17:26

@geemus geemus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@geemus
geemus merged commit b78385d into ota42y:master Nov 6, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants