Skip to content

Report Typefully HTTP rejections without exposing private data - #44

Merged
alexeygrigorev merged 1 commit into
mainfrom
codex/typefully-http-errors
Nov 6, 2026
Merged

alexeygrigorev merged 1 commit into
mainfrom
codex/typefully-http-errors

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

Typefully HTTP rejections were reported as connection failures because urllib raises HTTPError before the transport returns a status. The connector now reports the HTTP status and its standard reason phrase while keeping true network errors generic.

No provider response bodies, headers, request URLs, or arbitrary exception reasons are included in the error. Draft handling and retries are unchanged.

Validation: 31 targeted Typefully tests pass, including default-transport HTTP rejection tests with private-data sentinels and separate network-error coverage.

@alexeygrigorev
alexeygrigorev merged commit 0c88723 into main Nov 6, 2026
14 checks passed
@alexeygrigorev
alexeygrigorev deleted the codex/typefully-http-errors branch November 6, 2026 12:55
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.

1 participant