http: Fixed missing part in conditional