comparison Core/HttpServer/MongooseServer.cpp @ 1122:1d60316c3618

simplifications in FileStorage
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Sep 2014 15:48:43 +0200
parents da56a7916e8a
children 476a17cfdf42
comparison
equal deleted inserted replaced
1121:82567bac5e25 1122:1d60316c3618
580 HttpHandler::ParseGetArguments(argumentsGET, request->query_string); 580 HttpHandler::ParseGetArguments(argumentsGET, request->query_string);
581 } 581 }
582 582
583 583
584 // Compute the HTTP method, taking method faking into consideration 584 // Compute the HTTP method, taking method faking into consideration
585 HttpMethod method; 585 HttpMethod method = HttpMethod_Get;
586 if (!ExtractMethod(method, request, headers, argumentsGET)) 586 if (!ExtractMethod(method, request, headers, argumentsGET))
587 { 587 {
588 output.SendStatus(HttpStatus_400_BadRequest); 588 output.SendStatus(HttpStatus_400_BadRequest);
589 return; 589 return;
590 } 590 }