oscerd commented on PR #25571:
URL: https://github.com/apache/camel/pull/25571#issuecomment-5449731146
Added in `1026493`. Two cases now cover the `createMethod` path with a
`{{...}}` token in the `CamelHttpUri` header query, plus a symmetric one on
`createURL`.
Both deliberately use an **undefined** property key rather than a defined
one. `createMethod` only returns an `HttpMethods` enum, so "the token was not
expanded" is not directly observable from its return value — but an unknown key
is: had either helper run this header through the placeholder resolver, it
would raise `Property with key [...] not found` instead of carrying the token
through as a literal. So the assertion fails loudly if that resolution is ever
reintroduced on this header, which is the regression worth guarding.
Verified against a freshly built `camel-http-common` — 4/4 green.
---
_Claude Code on behalf of oscerd_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]