docs/test: McpHttpResponse 型誤記修正 + X-Forwarded-For 警告 + test fixture 整理#143
Merged
Conversation
PR #114 (#107) の残り差分: McpHttpResponse.body 型を str に修正・request_id() 追記 PR #119 (#111/#113) の残り差分: - ADR-0006 に X-Forwarded-For 偽装リスクと緩和策を追記 - framework-modules.md (EN/JA) に同警告を追記 - tests/example/conftest.py に共有 client fixture を作成 - note・tag HTTP テストを conftest fixture に移行 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced May 19, 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
PR #114 / #119 が merge conflict のため手動適用。
PR #114 (#107) 残り差分
McpHttpResponse.bodyの型誤記 (dict | list→str) を両言語ドキュメントで修正request_id()メソッドとMcpHttpClientProtocol.has_authentication()を追記PR #119 (#111/#113) 残り差分
X-Forwarded-For偽装リスクと本番運用上の緩和策を追記tests/example/conftest.pyを新規作成しclientフィクスチャを集約_client()ヘルパーから conftest fixture に移行(DRY)Test plan
uv run pytest— 178 tests passed, 91.32% coverageuv run mypy src/— no issuesuv run ruff check src/ tests/— no issuesuv run ruff format --check src/ tests/— no issuesCloses #107 #111 #113
🤖 Generated with Claude Code