Ajax: Use weak ETag header in tests

See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation

Close gh-1448
(cherry picked from commit d2aa969206aa1b7738b911cdaf29038f249b5066)