Skip to content

Conversation

@roberth
Copy link
Member

@roberth roberth commented Nov 3, 2025

No description provided.

... and direnv .envrc
It tried to parse as JSON, which doesn't work for a raw response.
I've made the status check stricter, requiring 200.
A different status risks silently accepting wrong semantics, e.g.
partial response.

So this is a breaking change, but that's the only sensible course
of action, and I expect it to impact nobody, because I don't expect
anyone to use this on files that are JSON strings.
Nobody has "JSON string" files and they aren't even valid JSON files
according to some definitions.
So dead code seems plausible.

I have changed the signature, so any (implausible) breakage won't go
unnoticed at compile time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants