Remove Uri from responders - replace with String (#32)

* remove `Uri` from responders - replace with `String`

* clean clippy warnings
This commit is contained in:
Dmitry Kudryavtsev 2025-06-03 20:49:41 +02:00 committed by GitHub
parent 8e4e2126ba
commit 4eae8b3fe2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 39 additions and 102 deletions

View file

@ -65,11 +65,11 @@ any of your responses.
| Header | Responder | Value |
|---------------------------|---------------------|-------------------------------------|
| `HX-Location` | `HxLocation` | `axum::http::Uri` |
| `HX-Push-Url` | `HxPushUrl` | `axum::http::Uri` |
| `HX-Redirect` | `HxRedirect` | `axum::http::Uri` |
| `HX-Location` | `HxLocation` | `String` |
| `HX-Push-Url` | `HxPushUrl` | `String` |
| `HX-Redirect` | `HxRedirect` | `String` |
| `HX-Refresh` | `HxRefresh` | `bool` |
| `HX-Replace-Url` | `HxReplaceUrl` | `axum::http::Uri` |
| `HX-Replace-Url` | `HxReplaceUrl` | `String` |
| `HX-Reswap` | `HxReswap` | `axum_htmx::responders::SwapOption` |
| `HX-Retarget` | `HxRetarget` | `String` |
| `HX-Reselect` | `HxReselect` | `String` |