Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 690 for ok (0.03 sec)

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

          Headers.Builder().add("foo bar")
        }
      }
    
      @Test fun addThrowsOnMultiColon() {
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder().add(":status: 200 OK")
        }
      }
    
      @Test fun addUnsafeNonAsciiRejectsUnicodeName() {
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder()
            .addUnsafeNonAscii("hΓ©ader1", "value1")
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/FunnelsTest.java

                while (bb.hasRemaining()) {
                  bb.get();
                }
              }
            };
        try {
          funnel.funnel(null, primitiveSink);
          fail();
        } catch (NullPointerException ok) {
        }
      }
    
      public void testAsOutputStream() throws Exception {
        PrimitiveSink sink = mock(PrimitiveSink.class);
        OutputStream out = Funnels.asOutputStream(sink);
        byte[] bytes = {1, 2, 3, 4};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/cookie-param-models.md

    Por exemplo, se o cliente tentar enviar um cookie `santa_tracker` com o valor de `good-list-please`, o cliente receberΓ‘ uma resposta de **erro** informando que o <abbr title="O papai noel desaprova a falta de biscoitos. πŸŽ… Ok, chega de piadas com os cookies.">cookie `santa_tracker` is not allowed</abbr>:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["cookie", "santa_tracker"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 07 20:18:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. .github/workflows/sigbuild-docker-presubmit.yml

            with:
              registry: us-central1-docker.pkg.dev
              username: _json_key
              password: ${{ secrets.GCP_CREDS }}
          -
            name: Grab the date to do cache busting (assumes same day OK to keep)
            run: |
              echo "DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
            id: date
          -
            name: Build containers, and push to GCR only if the 'build and push to gcr.io for staging' label is applied
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                storageClient.parsePath("");
                fail();
            } catch (final CrawlingAccessException e) {
                // ok
            }
            try {
                storageClient.parsePath(null);
                fail();
            } catch (final CrawlingAccessException e) {
                // ok
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers_test.go

    					return i, false
    				}
    			}
    		}
    		return 0, true
    	}
    
    	for i, tc := range testCases {
    		got := topLockEntries(tc.peerLocks, false)
    		if idx, ok := check(tc.expected, got); !ok {
    			t.Fatalf("%d: mismatch at %d \n expected %#v but got %#v", i, idx, tc.expected[idx], got[idx])
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. docs/ko/docs/advanced/response-change-status-code.md

    # 응닡 - μƒνƒœ μ½”λ“œ λ³€κ²½
    
    κΈ°λ³Έ [응닡 μƒνƒœ μ½”λ“œ μ„€μ •](../tutorial/response-status-code.md){.internal-link target=_blank}이 κ°€λŠ₯ν•˜λ‹€λŠ” κ±Έ 이미 μ•Œκ³  계싀 κ²λ‹ˆλ‹€.
    
    ν•˜μ§€λ§Œ κ²½μš°μ— 따라 κΈ°λ³Έ μ„€μ •κ³Ό λ‹€λ₯Έ μƒνƒœ μ½”λ“œλ₯Ό λ°˜ν™˜ν•΄μ•Ό ν•  λ•Œκ°€ μžˆμŠ΅λ‹ˆλ‹€.
    
    ## μ‚¬μš© 예
    
    예λ₯Ό λ“€μ–΄ 기본적으둜 HTTP μƒνƒœ μ½”λ“œ "OK" `200`을 λ°˜ν™˜ν•˜κ³  μ‹Άλ‹€κ³  κ°€μ •ν•΄ λ΄…μ‹œλ‹€.
    
    ν•˜μ§€λ§Œ 데이터가 μ‘΄μž¬ν•˜μ§€ μ•ŠμœΌλ©΄ 이λ₯Ό μƒˆλ‘œ μƒμ„±ν•˜κ³ , HTTP μƒνƒœ μ½”λ“œ "CREATED" `201`을 λ°˜ν™˜ν•˜κ³ μž ν•  λ•Œκ°€ μžˆμ„ 수 μžˆμŠ΅λ‹ˆλ‹€.
    
    μ΄λ•Œλ„ μ—¬μ „νžˆ `response_model`을 μ‚¬μš©ν•˜μ—¬ λ°˜ν™˜ν•˜λŠ” 데이터λ₯Ό ν•„ν„°λ§ν•˜κ³  λ³€ν™˜ν•˜κ³  싢을 수 μžˆμŠ΅λ‹ˆλ‹€.
    
    이런 κ²½μš°μ—λŠ” `Response` νŒŒλΌλ―Έν„°λ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
    
    ## `Response` νŒŒλΌλ―Έν„° μ‚¬μš©ν•˜κΈ°
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:01:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. cmd/perf-tests.go

    				t := time.Now()
    
    				r, _, _, err := c.GetObject(downloadsCtx, opts.bucketName, tmpObjName, gopts)
    				if err != nil {
    					errResp, ok := err.(minio.ErrorResponse)
    					if ok && errResp.StatusCode == http.StatusNotFound {
    						continue
    					}
    					if !contextCanceled(downloadsCtx) && !errors.Is(err, context.Canceled) {
    						errOnce.Do(func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-status-code.md

    * **`200`** and above are for "Successful" responses. These are the ones you would use the most.
        * `200` is the default status code, which means everything was "OK".
        * Another example would be `201`, "Created". It is commonly used after creating a new record in the database.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

            future.get(1L, SECONDS);
            return;
          } catch (CancellationException | ExecutionException ok) {
            return;
          } catch (InterruptedException ie) {
            throw new RuntimeException("Unexpected interrupt while waiting for future", ie);
          } catch (TimeoutException tryHarder) {
            /* OK */
          }
        } while (System.nanoTime() - deadline < 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top