Add x-fluxzy-network-error header on 528 responses#656
Merged
Conversation
Emit a stable errno-like token (connection_refused, dns_notfound, tls_cert_expired, ...) on every synthesized 528 and persist it on ClientError.NetworkErrorCode for archive readers. Also fixes the existing extra-header insertion that glued new headers onto the previous line.
Add docs/528-error-code.md with a token-by-token table covering the connection, DNS, TLS, and other layers, plus a sample 528 response and short snippets for reading the token from an HttpClient response and from an archived ClientError.
This was referenced May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
x-fluxzy-network-error: <token>response header on every synthesized 528, with 19 stable errno-like tokens (connection_refused,dns_notfound,tls_cert_expired, ...) defined onFluxzy.Core.NetworkErrorCodes.ClientError.NetworkErrorCodeso HAR / .fxzy archives carry it.docs/528-error-code.md.