summaryrefslogtreecommitdiff
path: root/src/HttpHeader.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-07 14:38:26 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-07 14:38:26 +0000
commitdbc8f5b737607db38399385e3b94f8dec9b3576c (patch)
tree150969e8a16f152dad7ddd07f9ad259cf8ffe0fe /src/HttpHeader.cc
parent4e28efd925214dd60ddc02b8fa3a8c1128bc0fec (diff)
2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Implemented the ability to get timestamp from remote HTTP server and apply it to local file. To enable this feature, --remote-time option is added. No usage text has been written yet. If several servers returns difference timestamp, then aria2 uses latest one. * src/CopyDiskAdaptor.cc * src/CopyDiskAdaptor.h * src/DirectDiskAdaptor.cc * src/DirectDiskAdaptor.h * src/DiskAdaptor.h * src/File.cc * src/File.h * src/HttpHeader.cc * src/HttpHeader.h * src/HttpResponse.cc * src/HttpResponse.h * src/HttpResponseCommand.cc * src/HttpResponseCommand.h * src/MultiDiskAdaptor.cc * src/MultiDiskAdaptor.h * src/OptionHandlerFactory.cc * src/RequestGroup.cc * src/RequestGroup.h * src/RequestGroupMan.cc * src/option_processing.cc * src/prefs.cc * src/prefs.h * test/CopyDiskAdaptorTest.cc * test/FileTest.cc * test/Makefile.am * test/Makefile.in * test/MultiDiskAdaptorTest.cc * test/TestUtil.cc
Diffstat (limited to 'src/HttpHeader.cc')
-rw-r--r--src/HttpHeader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc
index 6fea1009..d7557e87 100644
--- a/src/HttpHeader.cc
+++ b/src/HttpHeader.cc
@@ -68,6 +68,8 @@ const std::string HttpHeader::CONTENT_LENGTH("Content-Length");
const std::string HttpHeader::CONTENT_RANGE("Content-Range");
+const std::string HttpHeader::LAST_MODIFIED("Last-Modified");
+
const std::string HttpHeader::HTTP_1_1("HTTP/1.1");
const std::string HttpHeader::S200("200");