octstr_compare() can't be used because http headers are packed by http_pack() and headers can contain many values. So octstr_search() must be used.
By the way, why do you need octstr_convert_range() in this function if we could use octstr_case_search() ?
-- Vjacheslav Chekushin mailto:[EMAIL PROTECTED] Latvian Mobile Phone Company http://www.lmt.lv
