Files
rust_browser/crates/net/Cargo.toml
Zachary D. Rowitsch fcbf89ca77 Use Content-Type charset for HTTP response body decoding
Add encoding_rs-based body_as_decoded_string() to Response that
consults the Content-Type charset header, supporting ISO-8859-1,
Windows-1252, Shift_JIS, and other encodings. Falls back to UTF-8
lossy when charset is absent or unrecognized. Replaces all
body_as_string_lossy() call sites in the rendering pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 19:12:31 -05:00

18 lines
270 B
TOML

[package]
name = "net"
version = "0.1.0"
edition = "2021"
[dependencies]
encoding_rs.workspace = true
shared = { path = "../shared" }
tracing.workspace = true
ureq.workspace = true
[dev-dependencies]
tempfile = "3"
tiny_http.workspace = true
[lints]
workspace = true