summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.vim
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2023-04-25 14:54:54 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-25 14:54:54 +0100
commitc3eddd2068620ceb4e475961192c1d8cae3350cd (patch)
tree8053af0440fc4d98d0f255e4f40d39e6c273b2ab /src/testdir/test_channel.vim
parentcfc788c38848adcd54e4130f16f2813cd1e215dd (diff)
patch 9.0.1487: Content-type header for LSP channel not according to specv9.0.1487
Problem: Content-type header for LSP channel not according to spec. Solution: Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan Lakshmanan, closes #12295)
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r--src/testdir/test_channel.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index a6b25c9a78..6be2137c36 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -2670,7 +2670,7 @@ func LspTests(port)
" " Test for sending a raw message
" let g:lspNotif = []
" let s = "Content-Length: 62\r\n"
- " let s ..= "Content-Type: application/vim-jsonrpc; charset=utf-8\r\n"
+ " let s ..= "Content-Type: application/vscode-jsonrpc; charset=utf-8\r\n"
" let s ..= "\r\n"
" let s ..= '{"method":"echo","jsonrpc":"2.0","params":{"m":"raw-message"}}'
" call ch_sendraw(ch, s)