Commit b673a7e
fix: include request_headers in MockHTTPClient::clear()
The suggestion to use client->clear() instead of
client->request_headers.items.clear() exposed that clear() only
reset request_body. Update it to also clear request_headers so the
heartbeat session-header test validates fresh headers.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b3c0f73 commit b673a7e
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments