mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-10 11:28:27 +01:00
read Last-Modified
This commit is contained in:
parent
949fc47f31
commit
489c38ec5b
1 changed files with 1 additions and 1 deletions
|
@ -889,7 +889,7 @@ namespace client
|
||||||
/* assert: res.code == 200 */
|
/* assert: res.code == 200 */
|
||||||
auto it = res.headers.find("ETag");
|
auto it = res.headers.find("ETag");
|
||||||
if (it != res.headers.end()) m_Etag = it->second;
|
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 (it != res.headers.end()) m_LastModified = it->second;
|
||||||
if (res.is_chunked())
|
if (res.is_chunked())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue