search works for http