Skip to content

Commit 6135a48

Browse files
committed
Webserver Implemented send_file method
1 parent a82106b commit 6135a48

File tree

5 files changed

+683
-537
lines changed

5 files changed

+683
-537
lines changed

webserver/cWebem.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,6 +1995,9 @@ namespace http {
19951995
modify_info mInfo;
19961996
if (myWebem->CheckForPageOverride(session, requestCopy, rep))
19971997
{
1998+
if (rep.status == reply::status_type::download_file)
1999+
return;
2000+
19982001
if (session.reply_status != reply::ok) // forbidden
19992002
{
20002003
rep = reply::stock_reply(static_cast<reply::status_type>(session.reply_status));

0 commit comments

Comments
 (0)