Show
Ignore:
Timestamp:
21.09.2017 12:16:23 (2 years ago)
Author:
kjdon
Message:

the encoding used in hte page is not the same as content-encoding header, which refers to compression (eg gzip) of the page

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/receptionist.cpp

    r31731 r31980  
    996996 
    997997    if (converters.find(args["w"]) != converters.end()) { 
    998       headers["content-encoding"] = args["w"]; 
     998      //headers["content-encoding"] = args["w"]; 
    999999      response_data += "; charset=" + args["w"]; 
    10001000    } else { 
    10011001      // default to utf-8 
    1002       headers["content-encoding"] = "utf-8"; 
     1002      //headers["content-encoding"] = "utf-8"; 
    10031003      response_data += "; charset=utf-8"; 
    10041004    }