oups again, it should have been painless. At least I reviewed my commit
This commit is contained in:
parent
36c2264bdc
commit
acea17162c
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ int main() {
|
||||||
|
|
||||||
ifs->seekg(0, ios::beg);
|
ifs->seekg(0, ios::beg);
|
||||||
|
|
||||||
*response << "HTTP/1.1 200 OK\r\nContent-Length: " << length << "\r\n\r\n";
|
*response << "HTTP/1.1 200 OK\r\n" << cache_ctrl << "Content-Length: " << length << "\r\n\r\n";
|
||||||
default_resource_send(server, response, ifs);
|
default_resource_send(server, response, ifs);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue