Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi/OrthancRestChanges.cpp @ 2905:ae20fccdd867
refactoring mime types
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Oct 2018 11:55:23 +0100 |
parents | 7133ad478eea |
children | 9d277f8ad698 |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestChanges.cpp Tue Oct 30 10:46:17 2018 +0100 +++ b/OrthancServer/OrthancRestApi/OrthancRestChanges.cpp Tue Oct 30 11:55:23 2018 +0100 @@ -98,7 +98,7 @@ static void DeleteChanges(RestApiDeleteCall& call) { OrthancRestApi::GetIndex(call).DeleteChanges(); - call.GetOutput().AnswerBuffer("", "text/plain"); + call.GetOutput().AnswerBuffer("", MIME_PLAIN_TEXT); } @@ -130,7 +130,7 @@ static void DeleteExports(RestApiDeleteCall& call) { OrthancRestApi::GetIndex(call).DeleteExportedResources(); - call.GetOutput().AnswerBuffer("", "text/plain"); + call.GetOutput().AnswerBuffer("", MIME_PLAIN_TEXT); }