fix issue when 304 is returned and we got xslt error