Skip to content

Fix typo: put='hx-post' → put='hx-put' in _verbs mapping#821

Merged
jph00 merged 2 commits intomainfrom
fix-hx-put-typo
Jan 9, 2026
Merged

Fix typo: put='hx-post' → put='hx-put' in _verbs mapping#821
jph00 merged 2 commits intomainfrom
fix-hx-put-typo

Conversation

@erikgaas
Copy link
Copy Markdown
Contributor

@erikgaas erikgaas commented Jan 9, 2026

The _verbs dict incorrectly mapped put to hx-post instead of hx-put.

Fixes #617

@gitnotebooks
Copy link
Copy Markdown

gitnotebooks Bot commented Jan 9, 2026

Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/AnswerDotAI/fasthtml/pull/821

@erikgaas erikgaas requested a review from jph00 January 9, 2026 18:25
@jph00
Copy link
Copy Markdown
Contributor

jph00 commented Jan 9, 2026

oh! :O

@jph00 jph00 merged commit afb1716 into main Jan 9, 2026
2 checks passed
@jph00 jph00 deleted the fix-hx-put-typo branch January 9, 2026 23:50
@jph00 jph00 added the bug Something isn't working label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Auto-rewriting of routes to paths changes hx-put to hx-post

2 participants