Apply relayResponse improvements from filebrowser-enhanced