diff OrthancFramework/Sources/RestApi/RestApiOutput.cpp @ 4805:0a38000b086d

Archive jobs response now contains a header Content-Disposition:filename='archive.zip'
author Alain Mazy <am@osimis.io>
date Tue, 09 Nov 2021 09:51:14 +0100
parents d9942d48fea7
children 7053502fbf97
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiOutput.cpp	Thu Oct 28 13:05:56 2021 +0200
+++ b/OrthancFramework/Sources/RestApi/RestApiOutput.cpp	Tue Nov 09 09:51:14 2021 +0100
@@ -214,4 +214,9 @@
     // empty string
     SetCookie(name, "", 1);
   }
+
+  void RestApiOutput::SetContentFilename(const char* filename)
+  {
+    output_.SetContentFilename(filename);
+  }
 }