Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Saheed (0.24 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	request.Header.Set("If-Modified-Since", t.Add(10*time.Minute).UTC().Format(http.TimeFormat))
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Since the "If-Modified-Since" header was ahead in time compared to the actual
    	// modified time of the object expecting the response status to be http.StatusNotModified.
    	c.Assert(response.StatusCode, http.StatusNotModified)
    
    	// Again, obtain the object info.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top