At some point we should be clear what happens to 304. Better move text from XMLHttpRequest here.