comparison OrthancFramework/Sources/HttpServer/HttpServer.cpp @ 4273:0034f855c023

tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Nov 2020 12:24:50 +0100
parents 0ae2ca210077
children 0923247e69f6
comparison
equal deleted inserted replaced
4272:1661544ea94d 4273:0034f855c023
1086 std::string name = request->http_headers[i].name; 1086 std::string name = request->http_headers[i].name;
1087 std::string value = request->http_headers[i].value; 1087 std::string value = request->http_headers[i].value;
1088 1088
1089 std::transform(name.begin(), name.end(), name.begin(), ::tolower); 1089 std::transform(name.begin(), name.end(), name.begin(), ::tolower);
1090 headers.insert(std::make_pair(name, value)); 1090 headers.insert(std::make_pair(name, value));
1091 LOG(TRACE) << "HTTP header: [" << name << "]: [" << value << "]"; 1091 CLOG(TRACE, REST) << "HTTP header: [" << name << "]: [" << value << "]";
1092 } 1092 }
1093 1093
1094 if (server.IsHttpCompressionEnabled()) 1094 if (server.IsHttpCompressionEnabled())
1095 { 1095 {
1096 ConfigureHttpCompression(output, headers); 1096 ConfigureHttpCompression(output, headers);