GET fails if the response does not have Content-Type set

Hi @Iris - I have a temporary fix to get it working. If you change the file encoding to assume UTF-8, then the node works:

image

I will be able to fix this so that the ‘Guess’ option works properly - will post again when that is done.

The technical stuff as to why… The ‘Guess’ option needs to read the first few bytes of the response to see if it can detect and interpret a Byte-Order Mark, and then return to the start of the response. Depending on the sort of InputStream returned from the URL or filepath, this may not be supported, which is what happens here. I will change the code to check first, and if it is not supported then wrap the response in a different InputStream implementation which does support it.

Steve

1 Like