print response status only when error happends
use whitelist
add 304
minor fix