comparison 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
comparison
equal deleted inserted replaced
4804:ae643f664628 4805:0a38000b086d
212 // This marks the cookie to be deleted by the browser in 1 second, 212 // This marks the cookie to be deleted by the browser in 1 second,
213 // and before it actually gets deleted, its value is set to the 213 // and before it actually gets deleted, its value is set to the
214 // empty string 214 // empty string
215 SetCookie(name, "", 1); 215 SetCookie(name, "", 1);
216 } 216 }
217
218 void RestApiOutput::SetContentFilename(const char* filename)
219 {
220 output_.SetContentFilename(filename);
221 }
217 } 222 }