Added "public" to Cache-Control header.
the build was successful Details

"max-age" already indicates that it can be cached, but it can't hurt
to allow it explicitly.
This commit is contained in:
tastytea 2018-12-03 21:27:26 +01:00
parent d065ed3bd2
commit 3666be0872
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ settings::Settings settings::settings;
int main()
{
cout << "Server: libravatarserv/" << global::version << endl;
cout << "Cache-Control: max-age=86400\n";
cout << "Cache-Control: public, max-age=86400\n";
cout << "Connection: close\n";
const char *request = std::getenv("REQUEST_URI");