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
Hello,
I've found a crash in impit when parsing HTTP response headers that contain non-ASCII characters in their values.
Steps to reproduce
Fetch the following URL using impit-node: https://www.gamesunit.de/feed/the-wait-is-over-broken-arrow-s-first-dlc-is-here-and-it-s-free-227661.html
This will show the following error
Failed to parse header value for 'last-modified': ToStrError { _priv: () }
Root cause
The server returns a last-modified header with a German-locale date string:
last-modified: Dienstag, 31. März 2026
I'm aware that strictly only ASCII characters should be used in headers part, but this situation exists and I hope the library could be more resilient on these cases.
Activity
fix: decode non-ASCII response header values as ISO-8859-1
fix: decode non-ASCII response header values as ISO-8859-1 (#434)
fix: decode response header values as UTF-8 with ISO-8859-1 fallback
fix: decode header values per-ecosystem (Python/JS), expose httpx-sty…