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/04/22 18:23:54 UTC

[GitHub] [trafficcontrol] rob05c commented on a change in pull request #4657: Allow support for "If-Modified-Since" on GET requests

rob05c commented on a change in pull request #4657:
URL: https://github.com/apache/trafficcontrol/pull/4657#discussion_r413216074



##########
File path: traffic_ops/traffic_ops_golang/apitenant/tenant.go
##########
@@ -122,7 +123,18 @@ func (ten TOTenant) Validate() error {
 
 func (tn *TOTenant) Create() (error, error, int) { return api.GenericCreate(tn) }
 
-func (ten *TOTenant) Read() ([]interface{}, error, error, int) {
+func (ten *TOTenant) Read(h map[string][]string) ([]interface{}, error, error, int) {
+	ims := h["If-Modified-Since"]

Review comment:
       Would you object to making this a constant in `lib/go-rfc`?




----------------------------------------------------------------
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