Skip to content

fix(gateway): harden HTTP client compatibility - #203

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/gateway-http-client-compat
Sep 3, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/gateway-http-client-compat

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary\n- allow authenticated native MCP clients to omit the browser-only Origin header while still enforcing an exact allowlist when Origin is present\n- reject duplicate or malformed Authorization/Origin headers and add standard WWW-Authenticate/Retry-After responses\n- reject non-ASCII credentials/origins and document that the embedding host must provide loopback or TLS transport\n- exercise a real rmcp Streamable HTTP Rust client for discovery and invocation without a shared package filesystem\n\n## Validation\n- cargo fmt --all\n- cargo test -p a3s-use capability_gateway --all-features --locked\n

@ZhiXiao-Lin
ZhiXiao-Lin merged commit bc9aa96 into main Sep 3, 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.

1 participant