Try to extract charset spec from Content-Type header e.g. "text/html; charset=ISO-8859-1"
Sometimes the server deliver the charset spec in quotes these are removed
GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31
Try to extract charset spec from Content-Type header e.g. "text/html; charset=ISO-8859-1"
Sometimes the server deliver the charset spec in quotes these are removed