update http error code
do not give bots any cookies