Skip to content

Add x-fluxzy-network-error header on 528 responses#656

Merged
haga-rak merged 5 commits into
mainfrom
feature/network-error-token
May 7, 2026
Merged

Add x-fluxzy-network-error header on 528 responses#656
haga-rak merged 5 commits into
mainfrom
feature/network-error-token

Conversation

@haga-rak
Copy link
Copy Markdown
Owner

@haga-rak haga-rak commented May 7, 2026

Summary

  • New 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 on Fluxzy.Core.NetworkErrorCodes.
  • Same token persisted on ClientError.NetworkErrorCode so HAR / .fxzy archives carry it.
  • Fixes a latent bug in the existing extra-header insertion that glued new headers onto the previous line.
  • Full token catalogue documented in docs/528-error-code.md.

haga-rak added 5 commits May 7, 2026 22:56
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.
@haga-rak haga-rak merged commit 6318df7 into main May 7, 2026
2 checks passed
@haga-rak haga-rak added the enhancement New feature or request label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant