Skip to content

Tweaks to API templates and HTTP methods#218

Merged
PerfectlyNormal merged 3 commits into
mainfrom
feat/template-methods
Jun 14, 2026
Merged

Tweaks to API templates and HTTP methods#218
PerfectlyNormal merged 3 commits into
mainfrom
feat/template-methods

Conversation

@PerfectlyNormal

Copy link
Copy Markdown
Owner

No description provided.

RFC 9110[1] specifies "A client SHOULD NOT generate content in a
DELETE request", so don't do it here either. We don't know what
intermediaries might be along the request chain, so don't assume it
works. The previous commit passes `IsDelete` to the template, allowing
us to generate clients using the Aurelia template, since that library
allows bodies in `DELETE` requests.

[1]: https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.5-6
@PerfectlyNormal PerfectlyNormal merged commit 231739f into main Jun 14, 2026
2 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.

1 participant