You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/10/14 16:11:26 UTC

[GitHub] [trafficcontrol] ocket8888 commented on a change in pull request #5142: Return last-modified header only in case of IMS requests

ocket8888 commented on a change in pull request #5142:
URL: https://github.com/apache/trafficcontrol/pull/5142#discussion_r504801242



##########
File path: traffic_ops/traffic_ops_golang/api/shared_handlers.go
##########
@@ -130,6 +130,16 @@ func checkIfOptionsDeleter(obj interface{}, params map[string]string) (bool, err
 	return false, errors.New("Refusing to delete all resources of type " + name), nil, http.StatusBadRequest
 }
 
+func SetLastModifiedHeader(r *http.Request, useIMS bool) bool {

Review comment:
       Can you add a GoDoc to this?




----------------------------------------------------------------
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:
users@infra.apache.org