Closed bonjune closed 1 year ago
Changed the string reader in the parseHeaders function to erase newline characters before it runs inferences using the input schema.
parseHeaders
This will resolve the issue: https://github.com/fsprojects/FSharp.Data/issues/952 .
A test to check this change is added. The test passes.
I wonder, what about "\r\n"?
"\r\n"
use reader = new StringReader(schema.Replace("\n", ""))
Oh, that's a valid point. I will make a patch.
Changed the string reader in the
parseHeaders
function to erase newline characters before it runs inferences using the input schema.This will resolve the issue: https://github.com/fsprojects/FSharp.Data/issues/952 .
A test to check this change is added. The test passes.