1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-02-02 02:44:15 +00:00

read Last-Modified

This commit is contained in:
orignal 2020-09-27 19:19:48 -04:00
parent 949fc47f31
commit 489c38ec5b

View File

@ -889,7 +889,7 @@ namespace client
/* assert: res.code == 200 */
auto it = res.headers.find("ETag");
if (it != res.headers.end()) m_Etag = it->second;
it = res.headers.find("If-Modified-Since");
it = res.headers.find("Last-Modified");
if (it != res.headers.end()) m_LastModified = it->second;
if (res.is_chunked())
{