Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 412 (0.41 sec)

  1. cmd/object-handlers-common.go

    			w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    		}
    	}
    	// x-amz-copy-source-if-modified-since: Return the object only if it has been modified
    	// since the specified time otherwise return 412 (precondition failed).
    	ifModifiedSinceHeader := r.Header.Get(xhttp.AmzCopySourceIfModifiedSince)
    	if ifModifiedSinceHeader != "" {
    		if givenTime, err := amztime.ParseHeader(ifModifiedSinceHeader); err == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. internal/rest/client.go

    	if c.TraceOutput != nil && resp.StatusCode != http.StatusOK {
    		c.dumpHTTP(req, resp)
    	}
    
    	if resp.StatusCode != http.StatusOK {
    		// If server returns 412 pre-condition failed, it would
    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top