Use proper assertion handlers

Why not `httpRequest`? We define it just above?