Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 412 (0.27 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)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertCached(false, 408)
        assertCached(false, 409)
        // the HTTP spec permits caching 410s, but the RI doesn't.
        assertCached(true, 410)
        assertCached(false, 411)
        assertCached(false, 412)
        assertCached(false, 413)
        assertCached(true, 414)
        assertCached(false, 415)
        assertCached(false, 416)
        assertCached(false, 417)
        assertCached(false, 418)
        assertCached(false, 500)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. cmd/server_test.go

    // If-Unmodified-Since - Return the object only if it has not been modified since the specified time, else return a 412 (precondition failed).
    func (s *TestSuiteCommon) TestHeadOnObjectLastModified(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top