When you have a response file with windows line endings, then when you try to request it, you get this error message
problem sanatizing content for _search.get.json SyntaxError: Unexpected token { served via: ./_search.get.json
This patch makes sure that when a file is read, all windows line endings are removed before any processing takes place,
When you have a response file with windows line endings, then when you try to request it, you get this error message
problem sanatizing content for _search.get.json SyntaxError: Unexpected token { served via: ./_search.get.json
This patch makes sure that when a file is read, all windows line endings are removed before any processing takes place,