diff src/testdir/test_channel.vim @ 32311:10a03ae8ba60 v9.0.1487

patch 9.0.1487: Content-type header for LSP channel not according to spec Commit: https://github.com/vim/vim/commit/c3eddd2068620ceb4e475961192c1d8cae3350cd Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Tue Apr 25 14:54:54 2023 +0100 patch 9.0.1487: Content-type header for LSP channel not according to spec Problem: Content-type header for LSP channel not according to spec. Solution: Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan Lakshmanan, closes #12295)
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Apr 2023 16:00:09 +0200
parents dbec60b8c253
children def9fc5c92d1
line wrap: on
line diff
--- 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)