We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ea3c73 + a241f69 commit 975d1feCopy full SHA for 975d1fe
fs2/src/jsonrpclib/fs2/lsp.scala
@@ -56,11 +56,11 @@ object lsp {
56
line.trim() match {
57
case s"Content-Length: ${integer(length)}" =>
58
Right(headers.copy(contentLength = length))
59
- case s"Content-type: ${mimeType}; charset=${charset}" =>
+ case s"Content-Type: ${mimeType}; charset=${charset}" =>
60
Right(
61
headers.copy(mimeType = mimeType, charset = Charset.forName(charset))
62
)
63
- case _ => Left(ParseError(s"Couldn't parse to header: $line"))
+ case _ => Left(ParseError(s"Couldn't parse header: $line"))
64
}
65
66
private object integer {
0 commit comments