Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for revalidate (3.4 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build()
        val invalidate = client.newCall(request).execute()
        assertThat(invalidate.body.string()).isEqualTo("B")
        assertThat(get(url).body.string()).isEqualTo("C")
      }
    
      @Test
      fun postInvalidatesCacheWithUncacheableResponse() {
        // 1. Seed the cache.
        // 2. Invalidate it with an uncacheable response.
        // 3. Expect a cache miss.
    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)
  2. cmd/object-handlers.go

    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// validate the request
    	if err := rreq.validate(ctx, objectAPI); err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	c.Assert(err, nil)
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusNoContent)
    
    	// create http request to HEAD on the object.
    	// this helps to validate the existence of the bucket.
    	request, err = newTestSignedRequest(http.MethodHead, getHeadObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. api/go1.3.txt

    pkg syscall (netbsd-386), const MCL_FUTURE ideal-int
    pkg syscall (netbsd-386), const MS_ASYNC = 1
    pkg syscall (netbsd-386), const MS_ASYNC ideal-int
    pkg syscall (netbsd-386), const MS_INVALIDATE = 2
    pkg syscall (netbsd-386), const MS_INVALIDATE ideal-int
    pkg syscall (netbsd-386), const MS_SYNC = 4
    pkg syscall (netbsd-386), const MS_SYNC ideal-int
    pkg syscall (netbsd-386), const PROT_EXEC = 4
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    // ----------
    // Enable server profiling
    func (a adminAPIHandlers) StartProfilingHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    	_, adminAPIErr := checkAdminRequestAuth(ctx, r, policy.ProfilingAdminAction, "")
    	if adminAPIErr != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(adminAPIErr), r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. cmd/object-handlers_test.go

    							reqType, bucketName, test.objectName, err)
    					}
    					// Validate whether the error has occurred for the expected reason.
    					if want.Code != errXML.Code {
    						t.Errorf("%s, Expected to fail with error \"%s\", but received \"%s\": %q.",
    							reqType, want.Code, errXML.Code, errXML.Message)
    					}
    					// Validate the HTTP response status code  with the expected one.
    					if want.HTTPStatusCode != rec.Code {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    			return madmin.ReplicateAddStatus{}, errSRInvalidRequest(fmt.Errorf("all existing replicated sites must be specified - missing %s", strings.Join(diffSlc, " ")))
    		}
    	}
    
    	// validate that all clusters are using the same IDP settings.
    	err = c.validateIDPSettings(ctx, sites)
    	if err != nil {
    		return madmin.ReplicateAddStatus{}, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  8. go.sum

    github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
    github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A=
    github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew=
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 21:52:58 GMT 2024
    - 109K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    		}
    		clnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, arnStr)
    		if clnt == nil {
    			return sameTarget, toAPIError(ctx, BucketRemoteTargetNotFound{Bucket: bucket})
    		}
    		if checkRemote { // validate remote bucket
    			found, err := clnt.BucketExists(ctx, arn.Bucket)
    			if err != nil {
    				return sameTarget, errorCodes.ToAPIErrWithErr(ErrRemoteDestinationNotFoundError, err)
    			}
    			if !found {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. istioctl/pkg/authz/testdata/configdump.yaml

                      "operation": ":0/*"
                     },
                     "name": "default"
                    }
                   ]
                  }
                 ],
                 "validate_clusters": false
                },
                "http_filters": [
                 {
                  "name": "istio.metadata_exchange",
                  "typed_config": {
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
Back to top