comparison Core/HttpServer/EmbeddedResourceHttpHandler.cpp @ 1042:8d1845feb277

set cookies, not allowed methods, unauthorized in plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Jul 2014 15:55:40 +0200
parents 7d88f3f4a3b3
children ba5c0908600c
comparison
equal deleted inserted replaced
1041:2c49b7dffcec 1042:8d1845feb277
65 return false; 65 return false;
66 } 66 }
67 67
68 if (method != HttpMethod_Get) 68 if (method != HttpMethod_Get)
69 { 69 {
70 output.SendMethodNotAllowedError("GET"); 70 output.SendMethodNotAllowed("GET");
71 return true; 71 return true;
72 } 72 }
73 73
74 std::string resourcePath = Toolbox::FlattenUri(uri, baseUri_.size()); 74 std::string resourcePath = Toolbox::FlattenUri(uri, baseUri_.size());
75 std::string contentType = Toolbox::AutodetectMimeType(resourcePath); 75 std::string contentType = Toolbox::AutodetectMimeType(resourcePath);