Changeset 31980 for main


Ignore:
Timestamp:
09/21/17 12:16:23 (3 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

File:
1 edited

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    }
Note: See TracChangeset for help on using the changeset viewer.