Hi all, I have this route to serve a static javascript file:
<route id="jquery.js"> <from uri="netty4-http:http://0.0.0.0:8081/jquery.js"/> <setHeader headerName="Content-Type"> <constant>text/javascript</constant> </setHeader> <camel:setBody> <camel:simple>resource:classpath:jquery.js</camel:simple> </camel:setBody> </route> The file is served when I open it in the browser, but it is not identical to the file on disk. There is a string in the jquery.js file that goes something like this: '\\t\\r\\n' Or in words, [backslash backslash t backslash backslash r backslash backslash n] The file that arrives in the browser does not contain these characters, but instead an actual line break is in that position. You can find the jquery file here: https://code.jquery.com/jquery-3.4.1.min.js Is this a bug or am I missing some parameter for my route? Thanks for your help! Cheers, Martin