comparison Core/HttpServer/FilesystemHttpHandler.cpp @ 355:753e69f9326e

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Jan 2013 17:56:44 +0100
parents 78a8eaa5f30b
children bdd72233b105
comparison
equal deleted inserted replaced
354:4d76fce206ef 355:753e69f9326e
125 } 125 }
126 126
127 127
128 void FilesystemHttpHandler::Handle( 128 void FilesystemHttpHandler::Handle(
129 HttpOutput& output, 129 HttpOutput& output,
130 const std::string& method, 130 Orthanc_HttpMethod method,
131 const UriComponents& uri, 131 const UriComponents& uri,
132 const Arguments& headers, 132 const Arguments& headers,
133 const Arguments& arguments, 133 const Arguments& arguments,
134 const std::string&) 134 const std::string&)
135 { 135 {
136 if (method != "GET") 136 if (method != Orthanc_HttpMethod_Get)
137 { 137 {
138 output.SendMethodNotAllowedError("GET"); 138 output.SendMethodNotAllowedError("GET");
139 return; 139 return;
140 } 140 }
141 141