comparison Core/RestApi/RestApi.cpp @ 2136:dd609a99d39a

uniformization of the macro naming
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 14:08:05 +0100
parents b1291df2f780
children a3a65de1840f
comparison
equal deleted inserted replaced
2135:cadfe0a2a393 2136:dd609a99d39a
183 const char* bodyData, 183 const char* bodyData,
184 size_t bodySize) 184 size_t bodySize)
185 { 185 {
186 RestApiOutput wrappedOutput(output, method); 186 RestApiOutput wrappedOutput(output, method);
187 187
188 #if ORTHANC_PUGIXML_ENABLED == 1 188 #if ORTHANC_ENABLE_PUGIXML == 1
189 { 189 {
190 // Look if the client wishes XML answers instead of JSON 190 // Look if the client wishes XML answers instead of JSON
191 // http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html#z3 191 // http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html#z3
192 Arguments::const_iterator it = headers.find("accept"); 192 Arguments::const_iterator it = headers.find("accept");
193 if (it != headers.end()) 193 if (it != headers.end())