Loading ccsrc/Protocols/Http/http_codec.cc +1 −1 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ int http_codec::encode_response (const LibItsHttp__TypesAndValues::Response& p_r if (v.size_of() > 0) { loggers::get_instance().log_msg("http_codec::encode_response: Processing value ", v[0]); if (std::string(static_cast<const char*>(header.header__name())).compare("Content-Type") == 0) { // Store it for HTTP body payload encoding int j = 1; int j = 0; while (j < v.size_of()) { content_type += v[j++]; } // End of 'while' statement Loading Loading
ccsrc/Protocols/Http/http_codec.cc +1 −1 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ int http_codec::encode_response (const LibItsHttp__TypesAndValues::Response& p_r if (v.size_of() > 0) { loggers::get_instance().log_msg("http_codec::encode_response: Processing value ", v[0]); if (std::string(static_cast<const char*>(header.header__name())).compare("Content-Type") == 0) { // Store it for HTTP body payload encoding int j = 1; int j = 0; while (j < v.size_of()) { content_type += v[j++]; } // End of 'while' statement Loading