about summary refs log tree commit diff
path: root/users/Profpatsch/netencode/netencode.rs
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-01-29T14·45+0100
committerProfpatsch <mail@profpatsch.de>2021-01-31T11·10+0000
commitf05bece2cb240090a4eb40071daa69b857c0663c (patch)
tree99619860899db0db3333710f83d8e479dedb410c /users/Profpatsch/netencode/netencode.rs
parentef743ffbb5f03b0503edc0ed6c569dd17f391289 (diff)
refactor(users/Profpatsch/read-http): parse headers as utf8 r/2169
Headers should always be ASCII, so let’s crash if they are not. The
thing gets a lot easier to use, and clients who fail this restriction
can just fuck off.

Also actually print the results to stdout instead of stderr …

Change-Id: I782c96c537ae11b541175e96453c4114e0a71b05
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2451
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/netencode/netencode.rs')
0 files changed, 0 insertions, 0 deletions