comparison Core/RestApi/RestApi.cpp @ 1368:b22ba8c5edbe query-retrieve

query retrieve
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 May 2015 17:54:34 +0200
parents feaf2840917c
children f3672356c121
comparison
equal deleted inserted replaced
1367:fe6e5a9f1ea2 1368:b22ba8c5edbe
161 const UriComponents& uri, 161 const UriComponents& uri,
162 const Arguments& headers, 162 const Arguments& headers,
163 const GetArguments& getArguments, 163 const GetArguments& getArguments,
164 const std::string& postData) 164 const std::string& postData)
165 { 165 {
166 RestApiOutput wrappedOutput(output); 166 RestApiOutput wrappedOutput(output, method);
167 167
168 #if ORTHANC_PUGIXML_ENABLED == 1 168 #if ORTHANC_PUGIXML_ENABLED == 1
169 // Look if the user wishes XML answers instead of JSON 169 // Look if the user wishes XML answers instead of JSON
170 // http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html#z3 170 // http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html#z3
171 Arguments::const_iterator it = headers.find("accept"); 171 Arguments::const_iterator it = headers.find("accept");