Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Expecting (0.05 sec)

  1. cmd/server_test.go

    	// modified time of the object expecting the response status to be http.StatusNotModified.
    	c.Assert(response.StatusCode, http.StatusNotModified)
    
    	// Again, obtain the object info.
    	// This time setting "If-Unmodified-Since" to a time after the object is modified.
    	// As documented above, expecting http.StatusPreconditionFailed.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 8.
    		// Test case with non-existent source file.
    		// Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`.
    		// Expecting the response status code to http.StatusNotFound (404).
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    feel which way it was growing, and she was quite surprised to
    find that she remained the same size:  to be sure, this generally
    happens when one eats cake, but Alice had got so much into the
    way of expecting nothing but out-of-the-way things to happen,
    that it seemed quite dull and stupid for life to go on in the
    common way.
    
      So she set to work, and very soon finished off the cake.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: no-store")
            .build(),
        )
      }
    
      @Test
      fun partialRangeResponsesDoNotCorruptCache() {
        // 1. Request a range.
        // 2. Request a full document, expecting a cache miss.
        server.enqueue(
          MockResponse
            .Builder()
            .body("AA")
            .code(HttpURLConnection.HTTP_PARTIAL)
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      }
    
      @Test
      fun rangeHeaderPreventsAutomaticGzip() {
        val gzippedBody = gzip("abcabcabc")
    
        // Enqueue a gzipped response. Our request isn't expecting it, but that's okay.
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_PARTIAL)
            .body(gzippedBody)
            .addHeader("Content-Encoding: gzip")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		}
    
    		if peer.DefaultBandwidth.IsSet {
    			if peer.DeploymentID == globalDeploymentID() {
    				return madmin.ReplicateEditStatus{}, errSRInvalidRequest(fmt.Errorf("invalid deployment id specified: expecting a peer deployment-id to be specified for restricting bandwidth from %s, found self %s", peer.Name, globalDeploymentID()))
    			}
    			pi.DefaultBandwidth = peer.DefaultBandwidth
    			pi.DefaultBandwidth.UpdatedAt = UTCNow()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
Back to top