Loading the encoded file as a String and then sending it with newFixedLengthResponse doesn't work (SEVERE: Could not send response to the client), which I assume is because it is designed to send UTF-8 encoding, rather than ISO or any other encoding one might encounter.
My intention is to be able to access any resource that exists on the server. I can already send all regular encoded files (e.g html/css/js).
Loading the encoded file as a String and then sending it with
newFixedLengthResponse
doesn't work (SEVERE: Could not send response to the client
), which I assume is because it is designed to send UTF-8 encoding, rather than ISO or any other encoding one might encounter.My intention is to be able to access any resource that exists on the server. I can already send all regular encoded files (e.g html/css/js).
Thanks!