http: Fix test failure on FF caused by 3bada2a.