You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each request's promise only resolves when the request started by the redirect is resolved. So the newer request will have pushed it's url before the request that started the redirection pushes its url.
Url should be pushed before the handling the next response.
The text was updated successfully, but these errors were encountered:
bolu61
changed the title
Chained HX-Location pushes the urls in reverse.
Chained HX-Location responses pushes the urls in reverse.
Nov 28, 2024
When chaining
HX-Location
redirects, the urls are pushed in reverse order.In
handleAjaxResponse
, which is also called when the next request started byajaxHelper
resolves:htmx/src/htmx.js
Lines 4645 to 4647 in 24fb2fe
Each request's promise only resolves when the request started by the redirect is resolved. So the newer request will have pushed it's url before the request that started the redirection pushes its url.
Url should be pushed before the handling the next response.
The text was updated successfully, but these errors were encountered: