Fix broken HTTP tests