Branch: Tag:

2001-06-05

2001-06-05 22:54:08 by Per Hedbor <ph@opera.com>

Pass headers and default charset

Rev: lib/modules/Search.pmod/Indexer.pmod:1.9

31:    string|Standards.URI uri,    void|string language,    string|Stdio.File data, -  string content_type) +  string content_type, +  mapping headers, +  string default_charset )   {    Search.Filter.Base filter=Search.get_filter(content_type);    if(!filter)    throw("No indexer for content type "+content_type);    -  Search.Filter.Base.Output filteroutput=filter->filter(uri, data, content_type); +  Search.Filter.Base.Output filteroutput= +  filter->filter(uri, data, content_type, +  headers, default_charset);    index_document(db, uri, language, filteroutput->fields, filteroutput->uri_anchors);    return filteroutput->links;   }