handle more HTTP status codes