Mercurial > hg > orthanc
comparison Core/HttpServer/EmbeddedResourceHttpHandler.cpp @ 1446:8dc80ba768aa
refactoring: IHttpHandler does not use std::string to hold the request body
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2015 13:16:12 +0200 |
parents | feaf2840917c |
children | f967bdf8534e |
comparison
equal
deleted
inserted
replaced
1445:d26c8a93d05a | 1446:8dc80ba768aa |
---|---|
55 HttpOutput& output, | 55 HttpOutput& output, |
56 HttpMethod method, | 56 HttpMethod method, |
57 const UriComponents& uri, | 57 const UriComponents& uri, |
58 const Arguments& headers, | 58 const Arguments& headers, |
59 const GetArguments& arguments, | 59 const GetArguments& arguments, |
60 const std::string&) | 60 const char* /*bodyData*/, |
61 size_t /*bodySize*/) | |
61 { | 62 { |
62 if (!Toolbox::IsChildUri(baseUri_, uri)) | 63 if (!Toolbox::IsChildUri(baseUri_, uri)) |
63 { | 64 { |
64 // This URI is not served by this handler | 65 // This URI is not served by this handler |
65 return false; | 66 return false; |