Skip to content

DC-2868: Block httpx client requests when control policy matches - #24

Merged
t-santoshsahu merged 3 commits into
mainfrom
fix/DC-2868-httpx-blocking
Sep 8, 2026
Merged

t-santoshsahu merged 3 commits into
mainfrom
fix/DC-2868-httpx-blocking

Conversation

@t-santoshsahu

Copy link
Copy Markdown
Collaborator

Raise ControlRequestBlocked from the httpx request hook when the control registry returns block=True, so outbound httpx calls are stopped after policy evaluation (matching server-side Flask/gRPC behavior).

t-santoshsahu and others added 2 commits September 7, 2026 21:23
Raise ControlRequestBlocked from the httpx request hook when the control
registry returns block=True, so outbound httpx calls are stopped after
policy evaluation (matching server-side Flask/gRPC behavior).

Co-authored-by: Cursor <cursoragent@cursor.com>
…n pytest

Co-authored-by: Cursor <cursoragent@cursor.com>
@t-santoshsahu
t-santoshsahu merged commit a0dc867 into main Sep 8, 2026
7 checks passed
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.

4 participants