Commit 3870032
fix: in mcp mtls logic, check for authorization header case insensitively
httpx internally normalizes HTTP header keys to lowercase, so the check should be case-insensitive
closes #6200
Co-authored-by: Kathy Wu <wukathy@google.com>
PiperOrigin-RevId: 9407194761 parent 9d0a5a8 commit 3870032
2 files changed
Lines changed: 23 additions & 1 deletion
File tree
- src/google/adk/tools/mcp_tool
- tests/unittests/tools/mcp_tool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1298 | 1298 | | |
1299 | 1299 | | |
1300 | 1300 | | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
1301 | 1323 | | |
1302 | 1324 | | |
1303 | 1325 | | |
| |||
0 commit comments