mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2026-01-09 21:41:45 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -29,8 +29,10 @@ namespace OpenWifi {
|
||||
SendFileContent(FileContent, "application/vnd.tcpdump.pcap", UUID + ".pcap");
|
||||
else if (FileType == "gzip")
|
||||
SendFileContent(FileContent, "application/gzip", UUID + ".tar.gz");
|
||||
else if (FileType == "txt")
|
||||
SendFileContent(FileContent, "txt/plain", UUID + ".txt");
|
||||
else
|
||||
SendFileContent(FileContent, "application/txt", UUID + ".txt");
|
||||
SendFileContent(FileContent, "application/octet-stream", UUID + ".bin");
|
||||
}
|
||||
|
||||
void RESTAPI_file::DoDelete() {
|
||||
|
||||
Reference in New Issue
Block a user