Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,252 for Found$ (0.04 sec)

  1. docs_src/app_testing/app_b_an_py39/test_main.py

    1.  
    2. def test_read_nonexistent_item():
    3. response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
    4. assert response.status_code == 404
    5. assert response.json() == {"detail": "Item not found"}
    6.  
    7.  
    8. def test_create_item():
    9. response = client.post(
    10. "/items/",
    11. headers={"X-Token": "coneofsilence"},
    12. json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
    13. )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/config/storageclass/legacy.go

    1. func SetStorageClass(s config.Config, cfg Config) {
    2. if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 {
    3. // Do not enable storage-class if no settings found.
    4. return
    5. }
    6. s[config.StorageClassSubSys][config.Default] = config.KVS{
    7. config.KV{
    8. Key: ClassStandard,
    9. Value: cfg.Standard.String(),
    10. },
    11. config.KV{
    12. Key: ClassRRS,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/package-info.java

    1. * the License.
    2. */
    3.  
    4. /**
    5. * Interfaces, utilities, and simple implementations of escapers and encoders. The primary type is
    6. * {@link Escaper}.
    7. *
    8. * <p>Additional escapers implementations are found in the applicable packages: {@link
    9. * com.google.common.html.HtmlEscapers} in {@code com.google.common.html}, {@link
    10. * com.google.common.xml.XmlEscapers} in {@code com.google.common.xml}, and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 21:41:47 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/386enc.s

    1. // Copyright 2018 The Go Authors. All rights reserved.
    2. // Use of this source code is governed by a BSD-style
    3. // license that can be found in the LICENSE file.
    4.  
    5. #include "../../../../../runtime/textflag.h"
    6.  
    7. TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    8. // Instructions that were encoded with BYTE sequences.
    9. // Included to simplify validation of CL that fixed that.
    10. MOVQ (AX), M0 // 0f6f00
    11. MOVQ M0, 8(SP) // 0f7f442408
    12. MOVQ 8(SP), M0 // 0f6f442408
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/handling-errors.md

    1. ```
    2.  
    3. Mas se o cliente faz uma requisição para `http://example.com/items/bar` (ou seja, um não existente `item_id "bar"`), esse cliente receberá um HTTP status code 404 (o erro "não encontrado" — *not found error*), e uma resposta JSON:
    4.  
    5. ```JSON
    6. {
    7. "detail": "Item not found"
    8. }
    9. ```
    10.  
    11. /// tip | "Dica"
    12.  
    13. Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java

    1. SHA256(Hashing.sha256()),
    2. SHA384(Hashing.sha384()),
    3. SHA512(Hashing.sha512()),
    4. SIP_HASH24(Hashing.sipHash24()),
    5. FARMHASH_FINGERPRINT_64(Hashing.farmHashFingerprint64()),
    6.  
    7. // Hash functions found in //javatests for comparing against current implementation of CityHash.
    8. // These can probably be removed sooner or later.
    9. ;
    10.  
    11. private final HashFunction hashFunction;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 08 13:56:22 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  7. docs_src/app_testing/app_b_py310/test_main.py

    1.  
    2. def test_read_nonexistent_item():
    3. response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
    4. assert response.status_code == 404
    5. assert response.json() == {"detail": "Item not found"}
    6.  
    7.  
    8. def test_create_item():
    9. response = client.post(
    10. "/items/",
    11. headers={"X-Token": "coneofsilence"},
    12. json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
    13. )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. buildscripts/resolve-right-versions.sh

    1. set -x
    2. set -e
    3.  
    4. WORK_DIR="$PWD/.verify-$RANDOM"
    5. MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    6. MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    7.  
    8. if [ ! -x "$PWD/minio" ]; then
    9. echo "minio executable binary not found in current directory"
    10. exit 1
    11. fi
    12.  
    13. function start_minio_5drive() {
    14. start_port=$1
    15.  
    16. export MINIO_ROOT_USER=minio
    17. export MINIO_ROOT_PASSWORD=minio123
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 16 14:51:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_handling_errors/test_tutorial002.py

    1. response = client.get("/items-header/bar")
    2. assert response.status_code == 404, response.text
    3. assert response.headers.get("x-error") == "There goes my error"
    4. assert response.json() == {"detail": "Item not found"}
    5.  
    6.  
    7. def test_openapi_schema():
    8. response = client.get("/openapi.json")
    9. assert response.status_code == 200, response.text
    10. assert response.json() == {
    11. "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/ContentNotFoundException.java

    1. public class ContentNotFoundException extends FessSystemException {
    2.  
    3. private static final long serialVersionUID = 1L;
    4.  
    5. public ContentNotFoundException(final String parentUrl, final String url) {
    6. super("Not Found: " + url + " Parent: " + parentUrl, false, false);
    7. }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 947 bytes
    - Viewed (0)
Back to top