GitHub user xiaodzha opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/11
[TR] Add 'ETag' in header when downloading file
When TR downloading file, it will only use timestamp to determine whether
the file is modified or not. However, when we want to update TR db with new
file which has older timestamp, the db will not be updated. Add new parameter
in header: 'ETag' to determine whether file is modified.
Only when both timestamp & Etag is passed, the file will be determined as
304 unmodified.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xiaodzha/incubator-trafficcontrol master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/11.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11
----
commit baa6b51482c40a4dc49ff02fc7247318204b01e7
Author: xiaodzha <[email protected]>
Date: 2016-10-24T18:07:59Z
Add 'ETag' in header when downloading file
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---