Mercurial > hg > orthanc
diff Core/HttpServer/MultipartStreamReader.h @ 3399:4e8205871967
OrthancPluginRegisterMultipartRestCallback() is working
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Jun 2019 14:14:31 +0200 |
parents | 4acd1431e603 |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Core/HttpServer/MultipartStreamReader.h Fri Jun 07 13:36:43 2019 +0200 +++ b/Core/HttpServer/MultipartStreamReader.h Fri Jun 07 14:14:31 2019 +0200 @@ -52,9 +52,9 @@ { } - virtual void Apply(const HttpHeaders& headers, - const void* part, - size_t size) = 0; + virtual void HandlePart(const HttpHeaders& headers, + const void* part, + size_t size) = 0; }; private: @@ -99,9 +99,9 @@ static bool GetMainContentType(std::string& contentType, const HttpHeaders& headers); - static bool ParseMultipartHeaders(std::string& contentType, - std::string& subType, // Possibly empty - std::string& boundary, - const HttpHeaders& headers); + static bool ParseMultipartContentType(std::string& contentType, + std::string& subType, // Possibly empty + std::string& boundary, + const std::string& contentTypeHeader); }; }