Changes to IMFResponse.cpp

This commit is contained in:
Brad Arant 2019-08-02 09:40:17 -07:00
parent 604e196fbb
commit c957bbbb6f
5 changed files with 5 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,5 +1,5 @@
Debug Debug/
Release Release/
*.o *.o
*~ *~
*.mk *.mk

View File

@ -13,7 +13,7 @@ CurrentFileName :=
CurrentFilePath := CurrentFilePath :=
CurrentFileFullPath := CurrentFileFullPath :=
User :=Brad Arant User :=Brad Arant
Date :=10/07/19 Date :=18/07/19
CodeLitePath :=/home/bradarant/.codelite CodeLitePath :=/home/bradarant/.codelite
LinkerName :=/usr/bin/x86_64-linux-gnu-g++ LinkerName :=/usr/bin/x86_64-linux-gnu-g++
SharedObjectLinkerName :=/usr/bin/x86_64-linux-gnu-g++ -shared -fPIC SharedObjectLinkerName :=/usr/bin/x86_64-linux-gnu-g++ -shared -fPIC

Binary file not shown.

Binary file not shown.

View File

@ -18,6 +18,8 @@ namespace coreutils {
addHeader("Content-Length", std::to_string(content.size())); addHeader("Content-Length", std::to_string(content.size()));
else else
addHeader("Transfer-Encoding", "chunked"); addHeader("Transfer-Encoding", "chunked");
addHeader("Server", "JETServer v0.0.1");
output(response); output(response);
response << content; response << content;