Commit 5313dd1
committed
test: configure HTTP client with HTTP/1.1 and Content-Type header
- Set HttpClient to use HTTP/1.1 version explicitly
- Add Content-Type: application/json header to HttpRequest builder
- Update TestHttpClientSseClientTransport constructor in test class1 parent 420aaf2 commit 5313dd1
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- mcp/src/test/java/io/modelcontextprotocol/client/transport
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments