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
Currently, applications using the Hotwire Native Android package need to manually inject Accept headers through JavaScript to ensure proper content negotiation:
This is just an example - though we could use a bridge component.
Description:
Currently, applications using the Hotwire Native Android package need to manually inject Accept headers through JavaScript to ensure proper content negotiation:
This is just an example - though we could use a bridge component.
This approach has several drawbacks:
I propose improving the HotwireHttpClient to handle these headers natively by:
This would improve security, reduce boilerplate, and better match how web browsers naturally behave.
I'm happy to submit a PR for this change. Before proceeding, I'd appreciate any context on:
Let me know if this aligns with the project's goals and if you'd like me to proceed with the PR.
The text was updated successfully, but these errors were encountered: