Daniel

Results 68 comments of Daniel

Isn't the problem that the response contains a header: `Content-Type: application/x-javascript; charset=utf-8`, while it is not utf-8? Also my browser shows it like: ` {"ts_type_id":3,"ts_type_title":"\u0422\u0440\u0430\u043c\u0432\u0430\u0439","marsh_title":"6\u0442\u0440","forecast":" ","directions":{"A":{"first":"\u041f\u0440\u0435\u0434\u043c\u043e\u0441\u0442\u043d\u0430\u044f \u043f\u043b\u043e\u0449\u0430\u0434\u044c","last":"\u043f\u043e\u0441. \u042d\u043d\u0435\u0440\u0433\u0435\u0442\u0438\u043a\u043e\u0432","length":11.576194040000001},"B":{"first":"\u043f\u043e\u0441. \u042d\u043d\u0435\u0440\u0433\u0435\u0442\u0438\u043a\u043e\u0432","last":"\u041f\u0440\u0435\u0434\u043c\u043e\u0441\u0442\u043d\u0430\u044f \u043f\u043b\u043e\u0449\u0430\u0434\u044c","length":11.757706799999999}},"ts_endstop":[],"ts_line":{"A":[{"dgt":0,"obj":"stop","st_regnum":1106,"st_title":"\u041f\u0440\u0435\u0434\u043c\u043e\u0441\u0442\u043d\u0430\u044f...

Thanks for the detailed description! Could you try if it works with `submit_once: False`?

Cookies are a snake pit :( Sounds related to this discussion: https://github.com/encode/httpx/issues/1404

Was this introduced in the latest release?

I have thought about it before, but decided against implementing this, since events are an advanced concept in HA, not really meant for the end user. It is also tricky...

This is a duplicate of #155 but I'll keep it open for a while to see if others support your request.

I think this is the only issue blocking an upgrade to python 3.14? (because there are no wheels built for the older lxml versions)