Skip to content

tag-helpers: drop the TODO about Omit credentials for HTMX 1.9.x and 2.x - #112

Merged
rameel merged 1 commit into
mainfrom
tag-helpers/omit-credentials-todo
Oct 28, 2026
Merged

rameel merged 1 commit into
mainfrom
tag-helpers/omit-credentials-todo

Conversation

@rameel

@rameel rameel commented Oct 28, 2026

Copy link
Copy Markdown
Owner

No description provided.

HTMX 1.9.x and 2.x send requests through XMLHttpRequest, which always
sends credentials to the same origin, so HtmxRequestCredentials.Omit has
no equivalent there. The option stays unrendered, like every other
option the target version does not support, as the docs describe.
Throwing would break markup shared between HTMX versions.
@rameel
rameel merged commit 63e1610 into main Oct 28, 2026
1 check passed
@rameel
rameel deleted the tag-helpers/omit-credentials-todo branch October 28, 2026 18:19
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