Skip to content

Remove HEAD/OPTIONS method support - #15

Merged
dxx merged 1 commit into
dxx:devfrom
LiJoeAllen:dev
Aug 26, 2026
Merged

Remove HEAD/OPTIONS method support#15
dxx merged 1 commit into
dxx:devfrom
LiJoeAllen:dev

Conversation

@LiJoeAllen

Copy link
Copy Markdown
Contributor

Follow-up of #14.

As suggested by @dxx, response headers cannot be retrieved in feignhttp, so the \HEAD\ and \OPTIONS\ methods are not very useful. This PR removes them and keeps \PATCH:

  • Remove the #[head]\ and #[options]\ macros
  • Remove \Method::HEAD\ / \Method::OPTIONS\ variants (and their \ o_str\ / \ rom_str\ arms)
  • Update the method example accordingly

@dxx
dxx merged commit bb704ac into dxx:dev Aug 26, 2026
4 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