mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 06:54:15 +00:00
read Last-Modified
This commit is contained in:
parent
949fc47f31
commit
489c38ec5b
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user