-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30032/
-----------------------------------------------------------
(Updated June 15, 2015, 5:27 p.m.)
Review request for mesos, Benjamin Hindman, Bernd Mathiske, Joerg Schad,
Michael Park, and Till Toenshoff.
Changes
-------
User `Time::create` to create time objects. Removes unnecessary code.
Bugs: mesos-708
https://issues.apache.org/jira/browse/mesos-708
Repository: mesos
Description
-------
When serving a static file, libprocess returns the header `Last-Modified` which
is used by browsers to control Cache.
When a http request arrives containing the header `If-Modified-Since`, a
response `304 Not Modified` is returned if the date in the request and the
modification time (as returned by doing `stat` in the file) coincide.
Unit tests added.
Diffs (updated)
-----
3rdparty/libprocess/include/process/http.hpp
e47cc7afbc8110759edf25a2dc05d09eda25c417
3rdparty/libprocess/src/process.cpp f919b997287435381dbe34cb5bfdf73641ebeb23
3rdparty/libprocess/src/tests/process_tests.cpp
660af45e7fd45bdf5d43ad9aa54477fd94f87058
Diff: https://reviews.apache.org/r/30032/diff/
Testing
-------
make check
Thanks,
Alexander Rojas