srijeet0406 commented on a change in pull request #4942:
URL: https://github.com/apache/trafficcontrol/pull/4942#discussion_r470071607
##########
File path: traffic_ops/testing/api/v3/cachegroups_test.go
##########
@@ -42,11 +42,43 @@ func TestCacheGroups(t *testing.T) {
var header http.Header
header = make(map[string][]string)
header.Set(rfc.IfModifiedSince, time)
+ header.Set(rfc.IfUnmodifiedSince, time)
Review comment:
So currently, we support `If-Modified-Since` in only the `GET` requests,
whereas `If-Unmodified-Since` and `If-Match` are supported only in the `PUT`
requests. I have set them to the same time (a time in the past) for both the
headers, because these headers are being used in different tests, and have no
relation to each other as such.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]