http api: search(): fix concat error with