expecting at minimum to have a 'Server' request header and if it's not there trying to reload headers (using HEAD xhr request)
if content length is 0 (bad request or other) default size to zero