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
Maybe we can add support for htmx headers by sending object instead of string
publicclassHtmxHeaders//This will be added to library with fluent api or sth{[JsonPropertyName("HX-Target")]publicstringTarget{get;set;}[JsonPropertyName("HX-Push-Url")]publicstringPushUrl{get;set;}}
I thought about implementing it, but htmx doesn't expose a convenient method to handle all response headers automatically, so it would require copying and pasting headers processing from htmx core. I discarded this idea at the time, but thinking about it, maybe it's not that bad actually
The real issue is lack of history related methods in public or internal API, which are unlikely to be exposed in htmx 1.0, but I'll bring it up with the team
Maybe we can add support for htmx headers by sending object instead of string
this code will send
Question is if this will break something and if this will be hard to handle in js?
For comparison this is message sent from the client to server
The text was updated successfully, but these errors were encountered: